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

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

做了一個速度動畫。但是有一點BUG,半天想不到解決

做了一個速度動畫。但是有一點BUG,半天想不到解決

Sprash 2016-04-12 23:29:29
<html><head>? ? <meta charset="utf-8">? ? <style type="text/css">? ? *{? ? ? ? padding: 0;? ? ? ? margin: 0;? ? }? ? ?.hide{? ? ? ? width: 200px;? ? ? ? height:200px;? ? ? ? background-color: red;? ? ? ? float: left;? ? ?}? ? .showme{? ? ? ? float: left;? ? ? ? width: 50px;? ? ? ? height: 50px;? ? ? ? background-color: green;? ? }? ? .c1{? ? ? ? overflow: hidden;? ? ? ? width: 250px;? ? ? ? margin-left: -200px;? ? ? ? height: 200px;? ? }? ? </style></head><body>? ? <div id="showme" class="c1"><div class="hide" id="hide"></div><div class="showme"></div>? ? </div><script type="text/javascript">var showme=document.getElementById("showme")var timer=null;showme.onmouseover=a1;function a1(){clearInterval(timer);timer=setInterval(a2,50);}function a2(){?if(showme.offsetLeft<0){? ? showme.style.marginLeft=showme.offsetLeft+10;?}??else{? ? clearInterval(timer);?} ? ? ?}showme.onmouseout=a3;function a3(){? ? ? ? ? clearInterval(timer);? showme.style.marginLeft=-200+"px";}</script></body></html>BUG是這樣的,動圖看不到鼠標,我鼠標一上去時,他會出現(xiàn)的不是這么流暢,而是一卡一卡
查看完整描述

2 回答

?
林方清i

TA貢獻14條經驗 獲得超11個贊

數值10太大,改成1吧。。。

查看完整回答
反對 回復 2016-04-13
?
賣火柴的小舒

TA貢獻42條經驗 獲得超16個贊

數值10太大。。。。。

查看完整回答
反對 回復 2016-04-13
  • 2 回答
  • 0 關注
  • 1543 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

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

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號