Template:Team:KIT-Kyoto/slidemenu
From 2014.igem.org
(Difference between revisions)
Line 5: | Line 5: | ||
$("li.category").click(function(){ | $("li.category").click(function(){ | ||
$("ul.slidemenu").slideUp(); | $("ul.slidemenu").slideUp(); | ||
- | if($(" | + | if($("ul.slidemenu",this).css("display")=="none"){ |
- | $(" | + | $("ul.slidemenu",this).slideDown(); |
} | } | ||
}); | }); |
Revision as of 17:15, 1 September 2014