第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

麻煩看一下哪里錯(cuò)了,謝謝

麻煩看一下哪里錯(cuò)了,謝謝

<!DOCTYPE html>

<html>

<head>

<script ?src="http://libs.baidu.com/jquery/1.9.1/jquery.js"></script>

<meta charset="UTF-8">

<title>JS速度動(dòng)畫</title>

<style type="text/css">


body,ul,ol,li,p,h1,h2,h3,h4,h5,h6,form,fieldset,table,td,img,div,dl,dt,

dd,input{margin:0;padding:0;}

body{font-size:12px;}

img{border:none;}

li{list-style:none;}

input,select,textarea{outline:none;}

textarea{resize:none;}

#div1{

height: 200px;

width: 200px;

background-color: red;

position: relative;

left: -200px;

top: 0;

}


#div1 span{

background-color: blue;

width:20px;

height: 50px;

position: absolute;

left: 200px;

top: 75px;

}




</style>



<script type="text/javascript">

window.onload=function(){

var oDiv=document.getElementById('div1');

oDiv.onmouseover=function(){

startMove();

}

}


function startMove() {

var oDiv=document.getElementById('div1');

setInterval(function(){

oDiv.style.left=oDiv.OffsetLeft+10+'px';


},30)

}

</script> ?





</head>

<body>



<script type="text/javascript">




</script>


<div id="div1" ><span id="share">分享</span></div>

</body>

</html>


正在回答

1 回答

offsetLeft 拼錯(cuò)了

2 回復(fù) 有任何疑惑可以回復(fù)我~
#1

ASDDSAFAS 提問(wèn)者

謝謝指正
2017-07-04 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

麻煩看一下哪里錯(cuò)了,謝謝

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)