Team:Tsinghua/header
From 2011.igem.org
(Difference between revisions)
GuoQiangChen (Talk | contribs) |
GuoQiangChen (Talk | contribs) |
||
Line 35: | Line 35: | ||
<script> | <script> | ||
$('li[id*="nav-"]').hover(function(){ | $('li[id*="nav-"]').hover(function(){ | ||
- | $(this).animate({"fontSize": "22px", "paddingTop": "4px", "paddingLeft": "15px", "paddingRight": "15px"}, | + | $(this).animate({"fontSize": "22px", "paddingTop": "4px", "paddingLeft": "15px", "paddingRight": "15px"}, 500, function(){ |
$(this).animate({"fontSize": "18px", "paddingTop": "5px", "paddingLeft": "25px", "paddingRight": "25px"}, 200)}); | $(this).animate({"fontSize": "18px", "paddingTop": "5px", "paddingLeft": "25px", "paddingRight": "25px"}, 200)}); | ||
}, null); | }, null); | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 16:36, 10 August 2011