Template:Team:Amsterdam/ernst/scripts
From 2012.igem.org
(Difference between revisions)
Line 42: | Line 42: | ||
$(" #submenu ul ul ").css({display: "none"}); // Opera Fix | $(" #submenu ul ul ").css({display: "none"}); // Opera Fix | ||
$(" #submenu ul li").hover(function(){ | $(" #submenu ul li").hover(function(){ | ||
- | $(this).find('ul:first').show(400); | + | $(this).find('ul:first').stop().show(400); |
},function(){ | },function(){ | ||
- | $(this).find('ul:first').hide(400); | + | $(this).find('ul:first').stop().hide(400); |
}); | }); | ||
} | } |
Revision as of 12:11, 10 September 2012