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').css({visibility: "visible",display: "none"}).show(400);
+
$(this).find('ul:first').css({display: "none"}).show(400);
},function(){
},function(){
$(this).find('ul:first').css({visibility: "hidden",display: "block"});
$(this).find('ul:first').css({visibility: "hidden",display: "block"});

Revision as of 10:54, 10 September 2012