87,981
社区成员
发帖
与我相关
我的任务
分享
for(i = 0; i < list.length; i++) {
list[i].addEventListener ? list[i].addEventListener("mouseover",function(){list[i].className = "menuHover"}, false) : list[i].attachEvent("onmouseover", function(){list[i].className = "menuHover"});
}
"mouseover",(function(obj){
return function(){
obj.className = "menuHover";
}
})(list[i])