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