Template:Team:Amsterdam/ernst/scripts

From 2012.igem.org

(Difference between revisions)
Line 46: Line 46:
$(this).find('ul:first').hide(400);
$(this).find('ul:first').hide(400);
});
});
 +
}
 +
 +
 +
function submenu2(){
 +
$(" #submenu ul ul ").css({display: "none"}); // Opera Fix
 +
 +
$("#submenu li ul").mouseover(function(){ 
 +
$(this).stop().animate({height:'100%'},{queue:false, duration:600, easing: 'easeOutBounce'}) 
 +
});
 +
 +
$("#submenu li ul").mouseout(function(){ 
 +
$(this).stop().animate({height:'0%'},{queue:false, duration:600, easing: 'easeOutBounce'}) 
 +
});
}
}
   
   
Line 51: Line 64:
mainmenu();
mainmenu();
//submenu();
//submenu();
 +
submenu2();
});
});

Revision as of 12:30, 10 September 2012