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:'-250px 0px'},1000});
+
     $('#Home_Caption').stop().animate({backgroundPosition:'-250px 0px'},1000);
     });
     });
     $('#Home_Caption').mouseleave(function() {
     $('#Home_Caption').mouseleave(function() {
-
     $('#Home_Caption').stop().animate({backgroundPosition:'0px 0px'},1000});
+
     $('#Home_Caption').stop().animate({backgroundPosition:'0px 0px'},1000);
     });
     });
   });
   });

Revision as of 06:28, 21 June 2012

Team:HKUST-Hong Kong - 2012.igem.org

Google Chrome is recommended for viewing this page.

First Paragraph

Second Paragraph

Third Paragraph