Team:OUC-China
From 2011.igem.org
(Difference between revisions)
Line 106: | Line 106: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
$("#gTop .navlink").mousedown(function(){ | $("#gTop .navlink").mousedown(function(){ | ||
- | + | if($($(this).attr("href")).css("display")=="none"){ | |
+ | $("#gTop .navlink").stop(true,true).fadeOut(200); | ||
+ | $($(this).attr("href")).stop(true,true).fadeIn(200); | ||
+ | }else{ | ||
+ | $("#gTop .navlink").stop(true,true).fadeOut(200); | ||
+ | } | ||
return false; | return false; | ||
}); | }); | ||
- | |||
- | |||
- | |||
- | |||
$(".submenus").mouseleave(function(){ | $(".submenus").mouseleave(function(){ | ||
$(this).fadeOut(200); | $(this).fadeOut(200); |
Revision as of 05:08, 4 October 2011
Home | Team | Official Team Profile | Project | Parts Submitted to the Registry | Modeling | Notebook | Safety | Attributions |
---|