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); | ||
+ | }); | ||
+ | $('#Team_Caption').mouseover(function(){ | ||
+ | $('#Team_Caption').stop().animate({width:'400px';height:'100px'},1000); | ||
+ | }); | ||
+ | $('#Team_Caption').mouseleave(function() { | ||
+ | $('#Team_Caption').stop().animate({width:'200px';height:'50px'},1000); | ||
}); | }); | ||
}); | }); | ||
Line 188: | Line 194: | ||
-moz-animation:flyin1 1s; | -moz-animation:flyin1 1s; | ||
-webkit-animation:flyin1 1s; | -webkit-animation:flyin1 1s; | ||
+ | } | ||
+ | |||
+ | #Team_Caption_Div{ | ||
+ | width:200px; | ||
+ | height:50px; | ||
+ | postion:relative; | ||
+ | margin:10px; | ||
+ | top:0px; | ||
+ | left:0px; | ||
} | } | ||
Line 193: | Line 208: | ||
width:200px; | width:200px; | ||
height:50px; | height:50px; | ||
- | position: | + | position:absolute; |
margin:10px; | margin:10px; | ||
background-image:url(https://static.igem.org/mediawiki/2012/0/09/Team_Caption.jpg); | background-image:url(https://static.igem.org/mediawiki/2012/0/09/Team_Caption.jpg); | ||
Line 366: | Line 381: | ||
</div> | </div> | ||
- | <div id=" | + | <div id="Team_Caption_Div"> |
- | <a href="/Team:HKUST-Hong Kong/Team" | + | <a href="/Team:HKUST-Hong Kong/Team" id="Team_Caption"> |
- | + | ||
- | + | ||
</a> | </a> | ||
Revision as of 07:31, 21 June 2012
Google Chrome is recommended for viewing this page.
First Paragraph
Second Paragraph
Third Paragraph