Template:Team:Amsterdam/ernst/scripts
From 2012.igem.org
(Difference between revisions)
Line 57: | Line 57: | ||
},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:true, duration:400}); | ||
+ | }); | ||
+ | } | ||
+ | |||
+ | function submenu3(){ | ||
+ | $(" #submenu ul ul ").css({display: "none"}); // Opera Fix | ||
+ | $(" #submenu ul li").hover(function(){ | ||
+ | $(this).find('ul:first').slideDown(400); | ||
+ | },function(){ | ||
+ | $(this).find('ul:first').slideUp(400); | ||
}); | }); | ||
} | } | ||
Line 63: | Line 72: | ||
mainmenu(); | mainmenu(); | ||
//submenu(); | //submenu(); | ||
- | submenu2(); | + | //submenu2(); |
+ | submenu3(); | ||
}); | }); | ||
Revision as of 14:24, 10 September 2012