為什么上去了就不下來了?
<script>
window.onload=function(){
var oMove=document.getElementById('move');
var aList=oMove.getElementsByTagName('a');
for(var i=0;i<aList.length;i++){
aList[i].onmouseover=function(){
var _this=this.getElementsByTagName('i')[0];
startMove(_this,{top:-25,opacity:0},function(){
_this.style.top=30+'px';
startMove(_this,{top:20,opacity:100});
});
}
}
}
</script>
2018-04-20
flag =true;加到定時器里面,函數(shù)作用域的事,去補(bǔ)一補(bǔ)。
2017-10-24
應(yīng)該不是這段代碼的問題,是封閉的那個庫文件的問題
2017-04-16
你把全部代碼貼出來吧,這部分暫時沒發(fā)現(xiàn)問題