window.οnlοad=function(){
var L=document.getElementById("mainL").style;
ML=setInterval(function(){
if(parseInt(L.left)>=0)window.clearInterval(ML);
L.left=parseInt(L.left)+1+'px';
},10);
}
HTML移动DIV
最新推荐文章于 2023-04-21 16:48:34 发布
window.οnlοad=function(){
var L=document.getElementById("mainL").style;
ML=setInterval(function(){
if(parseInt(L.left)>=0)window.clearInterval(ML);
L.left=parseInt(L.left)+1+'px';
},10);
}