必须用ali吗,为什么啊
for(var i=0;i<ali.length;i++){
ali[i].i=i;
ali[i].onmouseover = function(){
this.className = "lihover";
}
ali[i].onmouseout = function(){
this.className = "";
}
for(var i=0;i<ali.length;i++){
ali[i].i=i;
ali[i].onmouseover = function(){
this.className = "lihover";
}
ali[i].onmouseout = function(){
this.className = "";
}
2016-04-02
举报