Team:HKUST-Hong Kong
From 2012.igem.org
(Difference between revisions)
Line 7: | Line 7: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
$('#Home_Caption').mouseover(function() { | $('#Home_Caption').mouseover(function() { | ||
- | $('#Home_Caption').stop().animate({backgroundPosition: ' | + | $('#Home_Caption').stop().animate({backgroundPosition: '200px 0px'}, 1000); |
}); | }); | ||
$('#Home_Caption').mouseleave(function() { | $('#Home_Caption').mouseleave(function() { | ||
- | $('#Home_Caption').stop().animate({backgroundPosition: ' | + | $('#Home_Caption').stop().animate({backgroundPosition: '0px 0px'}, 1000); |
}); | }); | ||
}); | }); |
Revision as of 13:56, 19 June 2012
Google Chrome is recommended for viewing this page.
First Paragraph
Second Paragraph
Third Paragraph