Team:IIT Madras/Template:header
From 2011.igem.org
(Difference between revisions)
Line 22: | Line 22: | ||
$(".menu_item").hover(function(){ | $(".menu_item").hover(function(){ | ||
+ | $(this).stop(); | ||
var name=$(this).attr('id') + "_menu"; | var name=$(this).attr('id') + "_menu"; | ||
$("#"+name).slideDown(); | $("#"+name).slideDown(); | ||
}, | }, | ||
function(){ | function(){ | ||
+ | $(this).stop(); | ||
var name=$(this).attr('id') + "_menu"; | var name=$(this).attr('id') + "_menu"; | ||
$("#"+name).slideUp(); | $("#"+name).slideUp(); |
Revision as of 21:26, 2 October 2011