Template:Team:Amsterdam/ernst/scripts
From 2012.igem.org
(Difference between revisions)
Line 58: | Line 58: | ||
$(" #submenu ul li").hover(function(){ | $(" #submenu ul li").hover(function(){ | ||
- | + | var ulellement = $(this).find('ul:first'); | |
- | + | ulellement.stop().animate({display:'block', height:'show'},{queue:true, duration:400}); | |
},function(){ | },function(){ | ||
$(this).find('ul:first').stop().animate({height:'hide', display:'none'},{queue:true, duration:400}); | $(this).find('ul:first').stop().animate({height:'hide', display:'none'},{queue:true, duration:400}); |
Revision as of 15:00, 10 September 2012