Template:Team:Amsterdam/ernst/scripts

From 2012.igem.org

(Difference between revisions)
Line 54: Line 54:
$("#submenu ul li").mouseover(function(){   
$("#submenu ul li").mouseover(function(){   
-
$(this).find('ul:first').stop().animate({display:'block', height:'100%'},{queue:false, duration:600})   
+
$(this).find('ul:first').stop().animate({display:'block'},{queue:false, duration:600}); 
-
});  
+
});
 +
 
 +
$("#submenu ul li").mouseout(function(){ 
 +
$(this).find('ul:first').stop().animate({display:'none'},{queue:false, duration:600});  
 +
});
   
   
}
}

Revision as of 13:23, 10 September 2012