Team:HKUST-Hong Kong

From 2012.igem.org

(Difference between revisions)
Line 6: Line 6:
   <script type="text/javascript">
   <script type="text/javascript">
   $(document).ready(function(){
   $(document).ready(function(){
-
     $('#Home_Caption').mouseover(function() {
+
     $('#Parts_Caption').mouseover(function() {
-
     $('#Home_Caption').stop().animate({backgroundPosition: '0px 0px'}, 1000);
+
     $('#Parts_Caption').stop().animate({backgroundPosition: '0px 0px'}, 1000);
     });
     });
-
     $('#Home_Caption').mouseleave(function() {
+
     $('#Parts_Caption').mouseleave(function() {
-
     $('#Home_Caption').stop().animate({backgroundPosition: '-250px 0px'}, 1000);
+
     $('#Parts_Caption').stop().animate({backgroundPosition: '-250px 0px'}, 1000);
     });
     });
   });
   });

Revision as of 13:40, 19 June 2012

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

Google Chrome is recommended for viewing this page.

First Paragraph

Second Paragraph

Third Paragraph