Template:Team:Amsterdam/ernst/scripts
From 2012.igem.org
(Difference between revisions)
Line 53: | Line 53: | ||
$(" #submenu ul ul ").css({display: "none"}); // Opera Fix | $(" #submenu ul ul ").css({display: "none"}); // Opera Fix | ||
- | $("#submenu ul li"). | + | $(" #submenu ul li").hover(function(){ |
- | $(this).find('ul:first').stop(). | + | $(this).find('ul:first').stop().animate({display:'block', height:'100%'},{queue:false, duration:600}); |
- | }); | + | },function(){ |
- | + | $(this).find('ul:first').stop().animate({display:'none', height:'0%'},{queue:false, duration:600}); | |
- | + | }); | |
- | $(this).find('ul:first').stop().animate({display:'none', height:'0%'},{queue:false, duration:600}); | + | } |
- | }); | + | |
} | } |
Revision as of 13:47, 10 September 2012