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"}); // Opera Fix | + | //$(" #submenu ul ul ").css({display: "none"}); // Opera Fix |
$("#submenu ul li").mouseover(function(){ | $("#submenu ul li").mouseover(function(){ | ||
- | $(this).find('ul:first').stop().animate({ | + | $(this).find('ul:first').stop().animate({height:'100%'},{queue:false, duration:600, easing: 'easeOutBounce'}); |
}); | }); | ||
$("#submenu ul li").mouseout(function(){ | $("#submenu ul li").mouseout(function(){ | ||
- | $(this).find('ul:first').stop().animate({ | + | $(this).find('ul:first').stop().animate({height:'0%'},{queue:false, duration:600, easing: 'easeOutBounce'}); |
}); | }); | ||
} | } |
Revision as of 12:38, 10 September 2012