Difference between revisions of "Template:Tianjin/js/hide menu"
(Created page with "$(function () { var st = 180; $('#nbv_all>li').mouseenter(function () { $(this).find('ul').stop(false, true).slideDown(st); }).mouseleave(function () { ...") |
|||
Line 2: | Line 2: | ||
var st = 180; | var st = 180; | ||
$('#nbv_all>li').mouseenter(function () { | $('#nbv_all>li').mouseenter(function () { | ||
+ | $(this).siblings().find('ul').stop(false, true).slideUp(st); | ||
$(this).find('ul').stop(false, true).slideDown(st); | $(this).find('ul').stop(false, true).slideDown(st); | ||
− | }) | + | }) |
− | + | ||
− | + | ||
}); | }); |
Latest revision as of 17:24, 18 September 2015
$(function () {
var st = 180; $('#nbv_all>li').mouseenter(function () { $(this).siblings().find('ul').stop(false, true).slideUp(st); $(this).find('ul').stop(false, true).slideDown(st); })
});