IE6 触发层‘冒泡’问题,没想到 jquery 本身有支持。增加如下内容 e.stopPropagation();
详情见:http://blog.csdn.net/zaq123q/article/details/7050144
实例:
$("#item_"+v.item_id).mouseover(function(e){
$(this).attr("class","icon2");
$(this).children(".item_con").show();
e.stopPropagation();
}).mouseout(function(e){
var target=$(e.target);
if(target.is(".item_con")||target.is(".icon2")){
$(this).attr("class","icon1");
$(this).children(".item_con").hide();
e.stopPropagation();
}
});