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

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

為什么鼠標(biāo)移開(kāi)的時(shí)候不能回移?

為什么鼠標(biāo)移開(kāi)的時(shí)候不能回移?

qq_吃藥先森_03169839 2016-05-06 15:26:26
<!DOCTYPE?html?PUBLIC?"-//W3C//DTD?XHTML?1.0?Transitional//EN"?"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html?xmlns="http://www.w3.org/1999/xhtml"> <head> <meta?http-equiv="Content-Type"?content="text/html;?charset=utf-8"?/> <style?type="text/css"> all{?margin:0;?padding:0;} div{?background-color:red;?width:200px;?height:300px;?left:-200px;?position:relative;} span{?background-color:blue;width:20px;?height:40px;?position:absolute;left:200px;?color:#FFF;?top:75px;} </style> <script> window.onload=function(){ ????var?timer=null, ????????a=document.getElementById('a'); ???? ????a.onmouseover=function(){ ????????Move(0); ????} ????a.onmouseout=function(){ ????????Move(-200); ????????} ????function?Move(num){ ????????clearInterval(timer); ????????a=document.getElementById('a'); ????????if(a.offsetLeft<num){ ????????timer=setInterval(function(){ ????????????if(a.offsetLeft?>=?num) ????????????{ ????????????????clearInterval(timer); ???????????? ????????????} ????????????else{ ????????????????a.style.left=a.offsetLeft+?1?+'px'; ????????????????} ????????????},30); ????????} ????????else?if(a.offsetLeft>num){ ????????????timer=setInterval(function(){ ????????????if(a.offsetLeft?==?num) ????????????{ ????????????????clearInterval(timer); ???????????? ????????????} ????????????else{ ????????????????a.style.left=a.offsetLeft-?1?+'px'; ????????????????} ????????????},30);} ????} } </script> <title>無(wú)標(biāo)題文檔</title> </head> <div?id="a"><span?id="box">分享</span></div> <body> </body> </html>
查看完整描述

1 回答

?
qq_青棗工作室_0

TA貢獻(xiàn)446條經(jīng)驗(yàn) 獲得超754個(gè)贊

div{?background-color:red;?width:200px;?height:300px;?left:-200px;?position:relative;}

這里的?position:relative 要改為?position:absolute;

查看完整回答
2 反對(duì) 回復(fù) 2016-05-06
  • 1 回答
  • 0 關(guān)注
  • 1329 瀏覽
慕課專(zhuān)欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

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

幫助反饋 APP下載

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

公眾號(hào)

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