这一段js是什么意思呢
for(var n= 0;n<len;n++){
oLis[n].className = "";
oDivs[n].className = "hide";
}
this.className = "on";
oDivs[this.index].className = "";
真的看不懂,为啥要把类名弄成空的,把类名弄成hide,on是啥意思
for(var n= 0;n<len;n++){
oLis[n].className = "";
oDivs[n].className = "hide";
}
this.className = "on";
oDivs[this.index].className = "";
真的看不懂,为啥要把类名弄成空的,把类名弄成hide,on是啥意思
2019-05-14
举报