代码如下:
$("#menu").hover( function() {
$(".divName").css("z-index", "-1");
}, function() {
$(".divName").css("z-index", "0");
});
$("#menu").hover( function() {
$(".divName").css("z-index", "-1");
}, function() {
$(".divName").css("z-index", "0");
});
转载于:https://www.cnblogs.com/smartsmile/archive/2012/08/28/6234439.html