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