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

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

JavaScript實現(xiàn)動畫,但是卻實現(xiàn)不了

JavaScript實現(xiàn)動畫,但是卻實現(xiàn)不了

溫溫醬 2018-12-07 00:33:39
<html> <head> <meta http-equiv="Content-Type" content="text/html;charset=gb2312"> <title>jQuery操作CSS3樣式</title><link rel="stylesheet" type="text/css" href="lsq.css"/> <style> #mydiv{ position:absolute; width:50px; height:50px; background:none repeat scroll 0% 0% rgb(255,0,0);?left:0px;position:absolute; } </style><script src="js/jquery-1.9.1.js" type="text/javascript"></script></head> <body onLoad="test()"><div id="mydiv" ></div> </body><script>function test(){ var obj=document.getElementById('mydiv'); function changeStyle(){ obj.style.left=parseInt(obj.style.left)+20+'px'; } setInterval(changeStyle,40); } </script></html> ? ? ? 應該是向右滑動,但是卻不滑動.用了 chrome ?IE ? 和 ?火狐,,都不行.. 望各位大神指教.
查看完整描述

1 回答

  • 1 回答
  • 0 關(guān)注
  • 538 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

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

幫助反饋 APP下載

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

公眾號

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