Team:HKUST-Hong Kong
From 2012.igem.org
(Difference between revisions)
Line 11: | Line 11: | ||
$('#Home_Caption').mouseleave(function() { | $('#Home_Caption').mouseleave(function() { | ||
$('#Home_Caption').stop().animate({backgroundPosition:'0px 0px'},1000); | $('#Home_Caption').stop().animate({backgroundPosition:'0px 0px'},1000); | ||
+ | }); | ||
+ | $('#Modeling_Caption').click(function(){ | ||
+ | $('#Modeling_Content').slideToggle("slow"); | ||
}); | }); | ||
}); | }); | ||
Line 18: | Line 21: | ||
<style type="text/css"> | <style type="text/css"> | ||
+ | |||
+ | #Modeling_Content{ | ||
+ | width:200px; | ||
+ | margin-left:10px; | ||
+ | margin-right:10px; | ||
+ | background-color:#DDFFFF; | ||
+ | display:none; | ||
+ | height:auto; | ||
+ | } | ||
#topHeader{ | #topHeader{ | ||
Line 413: | Line 425: | ||
<div id="Modeling_Caption"> | <div id="Modeling_Caption"> | ||
- | <a href=" | + | <a href=""> |
<img src='https://static.igem.org/mediawiki/2012/d/d9/Modeling_Caption.jpg'> | <img src='https://static.igem.org/mediawiki/2012/d/d9/Modeling_Caption.jpg'> | ||
</a> | </a> | ||
+ | </div> | ||
+ | <div id="Modeling_Content" align="center"> | ||
+ | <p>Modeling</p> | ||
+ | <p>content1</p> | ||
+ | <p>content2</p> | ||
+ | <p>content3</p> | ||
+ | <p>content4</p> | ||
</div> | </div> | ||
Revision as of 08:33, 21 June 2012
Google Chrome is recommended for viewing this page.
First Paragraph
Second Paragraph
Third Paragraph