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