Template:Team:Amsterdam/ernst/scripts

From 2012.igem.org

(Difference between revisions)
Line 54: Line 54:
$(" #submenu ul li").hover(function(){
$(" #submenu ul li").hover(function(){
-
$(this).find('ul:first').animate({display:'block', height:'show'},{queue:true, duration:400});
+
$(this).find('ul:first').animate({display:'block', height:'show'},{queue:false, duration:400});
},function(){
},function(){
-
$(this).find('ul:first').animate({height:'hide', display:'none'},{queue:true, duration:400});
+
$(this).find('ul:first').animate({height:'hide', display:'none'},{queue:false, duration:400});
$(this).find('ul:first').css({height:'auto'});
$(this).find('ul:first').css({height:'auto'});
});
});

Revision as of 14:35, 10 September 2012