Team:XMU-China/Gallery 1
From 2014.igem.org
(Difference between revisions)
Line 305: | Line 305: | ||
$(".navbar_main").mouseenter(function(){ | $(".navbar_main").mouseenter(function(){ | ||
var nav_bar_hover_target = $(this); | var nav_bar_hover_target = $(this); | ||
- | nav_bar_hover_target.children(".navbar_sub").slideDown(); | + | nav_bar_hover_target.children(".navbar_sub").stop().slideDown(); |
$(".navbar_main").mouseleave(function(){ | $(".navbar_main").mouseleave(function(){ | ||
var nav_bar_hoveroff_target = $(this); | var nav_bar_hoveroff_target = $(this); | ||
- | nav_bar_hoveroff_target.children(".navbar_sub").slideUp(); | + | nav_bar_hoveroff_target.children(".navbar_sub").stop().slideUp(); |
}); | }); | ||
}); | }); |
Latest revision as of 03:12, 18 October 2014