鼠标移上去显示二级菜单移出去隐藏

$('dl').hide();
$(function () {
$("li.mainmenu").mouseover(function () {
$(this).children("dl").show();
})
})

$(function () {
$("li.mainmenu").mouseout(function () {
$(this).children("dl").hide();
})
})

posted @ 2020-12-11 10:42  我和我的小生活  阅读(553)  评论(0编辑  收藏  举报