Template:Team:KIT-Kyoto/slidemenu
From 2014.igem.org
(Difference between revisions)
(3 intermediate revisions not shown) | |||
Line 5: | Line 5: | ||
$("li.category").click(function(){ | $("li.category").click(function(){ | ||
$("ul.slidemenu").slideUp(); | $("ul.slidemenu").slideUp(); | ||
- | if($("ul | + | if($("+ul",this).css("display")=="none"){ |
- | $("ul | + | $("+ul",this).slideDown(); |
} | } | ||
}); | }); |
Latest revision as of 18:11, 6 September 2014