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

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

大佬們,看看問題在哪,一點(diǎn)反應(yīng)都沒有

<!doctype html>

<html>

<head>

<style type="text/css">

#s{font-size: 13px;

color: white;

height: 30px;

width: 20px;

position: absolute;

top: 100px;

left: 0px;

background-color: aqua;

}

#ss{

height:230px;

width: 960px;

position: absolute;

top: 0px;

left: -960px;

background-color: brown;

}

</style>

<script type="text/javascript">

window.onload=function(){

var s1=document.getElementById("s");

s1.onmouseover=function(){

startmove();

}

}

var timer=null;

function startmove(){

var s2=document.getElementById("ss");

timer=setInterval(function(){

if(s2.offsetLeft==0){

clearInterval(timer);

}

else{

s2.style.left=s2.offsetLeft+10+'px';

}

},30);

}

</script>

<meta charset="utf-8">

<title>動態(tài)效果</title>

</head>


<body>

<div id="s">廣<br>告</div>

<div id="ss"></div>

</body>

</html>


正在回答

1 回答

你的html結(jié)構(gòu)寫錯(cuò)了

<div id="s">廣<br>告</div>

<div id="ss"></div>

改成<div id="s"><span id='ss'>廣告</span></div>


0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

大佬們,看看問題在哪,一點(diǎn)反應(yīng)都沒有

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

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

幫助反饋 APP下載

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

公眾號

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