為什么上去了就不下來(lái)了?
<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í)器里面,函數(shù)作用域的事,去補(bǔ)一補(bǔ)。
2017-10-24
應(yīng)該不是這段代碼的問(wèn)題,是封閉的那個(gè)庫(kù)文件的問(wèn)題
2017-04-16
你把全部代碼貼出來(lái)吧,這部分暫時(shí)沒(méi)發(fā)現(xiàn)問(wèn)題