Template:Team:Amsterdam/ernst/scripts
From 2012.igem.org
(Difference between revisions)
Line 50: | Line 50: | ||
function submenu2(){ | function submenu2(){ | ||
- | |||
- | |||
- | |||
- | |||
$(" #submenu ul ul ").css({display: "none", height:'auto'}); // Opera Fix | $(" #submenu ul ul ").css({display: "none", height:'auto'}); // Opera Fix | ||
$(" #submenu ul li").hover(function(){ | $(" #submenu ul li").hover(function(){ | ||
- | + | $(this).find('ul:first').stop().animate({display:'block', height:'show'},{queue:true, duration:400}); | |
- | + | ||
},function(){ | },function(){ | ||
$(this).find('ul:first').stop().animate({height:'0px', display:'none'},{queue:true, duration:400}); | $(this).find('ul:first').stop().animate({height:'0px', display:'none'},{queue:true, duration:400}); |
Revision as of 15:19, 10 September 2012