Team:Tsinghua/header

From 2011.igem.org

(Difference between revisions)
Line 40: Line 40:
}, function(){});
}, function(){});
$('#nav-human').hover(function(){
$('#nav-human').hover(function(){
-
$(this).animate({"fontSize": "22px", "paddingTop": "4px", "paddingLeft": "5px", "paddingRight": "5px"}, 400, function(){
+
$(this).animate({"fontSize": "21px", "paddingTop": "4px", "paddingLeft": "0px", "paddingRight": "0px"}, 400, function(){
     $(this).animate({"fontSize": "18px", "paddingTop": "5px", "paddingLeft": "21px", "paddingRight": "21px"}, 200)});
     $(this).animate({"fontSize": "18px", "paddingTop": "5px", "paddingLeft": "21px", "paddingRight": "21px"}, 200)});
}, function(){});
}, function(){});
</script>
</script>
</html>
</html>

Revision as of 02:24, 11 August 2011