问答详情
源自:7-1 JS动画案例

请大佬帮我看看这个写法的逻辑错误

window.onload = function(){

var Icon = document.getElementById('icon');

var aList = Icon.getElementsByTagName('a');

for(var i=0;i<aList.length;i++)

{

var aI[i] = aList[i].getElementsByTagName('i')[0];

aI[i].onmouseover = function(){

//var _this = this.getElementsByTagName('i')[0];

startMove1(this,{top:-16,opacity:0},function(){

this.style.top = 20 +'px';

startMove1(this,{top:16,opacity:100});

});

}

}

}


提问者:半吊子渔者 2019-08-08 11:46

个回答

  • weixin_宝慕林7525097
    2019-12-30 21:53:19

    http://img2.mukewang.com/5e0a013600016cb205760279.jpg看看有啥不一样