沒弄懂是什么意思,哪位大神說說
? for(var i = 0; i < aLi.length; i++) {
??????????? aLi[i].index = i;
??????????? aLi[i].onmouseover = function() {
??????????????? for(var i = 0; i < aLi.length; i++) {
??????????????????? aLi[i].className = "";
??????????????? }
??????????????? this.className = "active";
??????????????? for(var j = 0; j < aDiv.length; j++) {
??????????????????? aDiv[j].className = "hide";
??????????????? }
??????????????? aDiv[this.index].className = "show";
??????????? }???????
??????? }
??? }
2017-05-11