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(-250,0),1000});
+
     $('#Home_Caption').stop().animate({backgroundPosition:'-250px,0px'},1000});
     });
     });
     $('#Home_Caption').mouseleave(function() {
     $('#Home_Caption').mouseleave(function() {
-
     $('#Home_Caption').stop().animate({backgroundPosition(0,0),1000});
+
     $('#Home_Caption').stop().animate({backgroundPosition:'0px,0px',1000});
     });
     });
   });
   });
Line 354: Line 354:
         <div id="Home_Caption" link="/Team:HKUST-Hong Kong">
         <div id="Home_Caption" link="/Team:HKUST-Hong Kong">
         <a href="/Team:HKUST-Hong Kong">
         <a href="/Team:HKUST-Hong Kong">
-
                    <p><font size="5">HOME</font></p>
+
               
                 </a>
                 </a>
         </div>
         </div>

Revision as of 06:26, 21 June 2012

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

Google Chrome is recommended for viewing this page.

First Paragraph

Second Paragraph

Third Paragraph