Template:Team:KIT-Kyoto/slidemenu
From 2014.igem.org
(Difference between revisions)
Line 2: | Line 2: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(function(){ | $(function(){ | ||
- | $("ul.slidemenu"). | + | $("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