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

為了賬號安全,請及時綁定郵箱和手機(jī)立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

【已解決】這個javascript的右側(cè)懸浮框?yàn)槭裁礋o法實(shí)現(xiàn)?

【已解決】這個javascript的右側(cè)懸浮框?yàn)槭裁礋o法實(shí)現(xiàn)?

<!DOCTYPE?html> <meta?charset="utf-8"> <head> <title></title> <style?type="text/css"> #div1{width:?100px;height:?200px;background-color:?red;position:?absolute;?right:?0;bottom:?0;} </style> <script?type="text/javascript"> window.onscroll?=?function() { var?oDiv1?=?document.getElementById('div1'); var?scrollTop?=?document.documentElement.scrollTop||document.body.scrollTop; startMove(document.documentElement.clientHeight-oDiv1.offsetHeight+scrollTop); } var?timer?=?null; function?startMove(iTarget) { var?oDiv1?=?document.getElementById('div1'); clearInterval(timer); timer?=?setInterval(function(){ var?speed?=?(iTarget-oDiv.offsetTop)/8; speed?=?speed>0?Math.ceil(speed):Math.floor(speed); if?(oDiv1.offsetTop==iTarget)? { clearInterval(timer); } else { oDiv1.style.top?=?oDiv1.offsetTop+speed+'px'; } },30); } </script> </head> <body?style="height:?2000px;"> <div?id="div1"></div> </body> </html>
查看完整描述

1 回答

?
簡若婷

TA貢獻(xiàn)1條經(jīng)驗(yàn) 獲得超0個贊

我知道錯在哪里了,不用回答了,謝謝你們看到這個問題。

查看完整回答
反對 回復(fù) 2017-06-15
  • 1 回答
  • 0 關(guān)注
  • 1366 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

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

幫助反饋 APP下載

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

公眾號

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