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

Revision as of 06:23, 21 June 2012

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

Google Chrome is recommended for viewing this page.

First Paragraph

Second Paragraph

Third Paragraph