for (var i = 0; i < divs.length; i++) {
divs[i].index = i; divs[i].onmouseover=function(){ console.log(this.index); spans[this.index].style.top = start+"px"; },100) } };
相关分类