Template:Team:Amsterdam/ernst/scripts

From 2012.igem.org

(Difference between revisions)
Line 53: Line 53:
$("#submenu li ul").mouseover(function(){   
$("#submenu li ul").mouseover(function(){   
-
$(this).stop().animate({display:'block'},{queue:false, duration:600, easing: 'easeOutBounce'})   
+
$(this).stop().animate({display:'none'},{queue:false, duration:600, easing: 'easeOutBounce'});  
});  
});  
$("#submenu li ul").mouseout(function(){   
$("#submenu li ul").mouseout(function(){   
-
$(this).stop().animate({display:'none'},{queue:false, duration:600, easing: 'easeOutBounce'})   
+
$(this).stop().animate({display:'block'},{queue:false, duration:600, easing: 'easeOutBounce'});  
});  
});  
}
}

Revision as of 12:33, 10 September 2012