Team:Tsinghua/header

From 2011.igem.org

(Difference between revisions)
Line 12: Line 12:
     <li id="nav-team"><a href="/Team:Tsinghua/team">Team</a></li>
     <li id="nav-team"><a href="/Team:Tsinghua/team">Team</a></li>
     <li id="nav-project"><a href="/Team:Tsinghua/project">Project</a></li>
     <li id="nav-project"><a href="/Team:Tsinghua/project">Project</a></li>
-
     <li id="nav-model"><a href="/Team:Tsinghua/model">Model</a></li>
+
     <li id="nav-model"><a href="/Team:Tsinghua/modeling">Model</a></li>
     <li id="nav-notebook"><a href="/Team:Tsinghua/experiments">Notebook</a></li>
     <li id="nav-notebook"><a href="/Team:Tsinghua/experiments">Notebook</a></li>
     <li id="nav-parts"><a href="/Team:Tsinghua/parts">Parts</a></li>
     <li id="nav-parts"><a href="/Team:Tsinghua/parts">Parts</a></li>
Line 36: Line 36:
<script>
<script>
$('li[id*="nav-"]').hover(function(){
$('li[id*="nav-"]').hover(function(){
-
$(this).animate({"fontSize": "22px", "paddingTop": "4px", "paddingLeft": "15px", "paddingRight": "15px"}, 500, function(){
+
$(this).animate({"fontSize": "22px", "paddingTop": "4px", "paddingLeft": "10px", "paddingRight": "10px"}, 500, function(){
-
     $(this).animate({"fontSize": "18px", "paddingTop": "5px", "paddingLeft": "25px", "paddingRight": "25px"}, 200)});
+
     $(this).animate({"fontSize": "18px", "paddingTop": "5px", "paddingLeft": "15px", "paddingRight": "15px"}, 200)});
}, function(){});
}, function(){});
</script>
</script>
</html>
</html>

Revision as of 02:18, 11 August 2011