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

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

用jQuery的animate()寫的動(dòng)畫效果,執(zhí)行不了呢?

用jQuery的animate()寫的動(dòng)畫效果,執(zhí)行不了呢?

瓶水相逢 2016-05-19 16:54:40
<!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" />? <script src="../js/jquery-2.2.3.min.js"></script>? <style type="text/css">? #ani1{? position:absolute;? left:100px;? background-color:red;? }? </style>? <title>動(dòng)畫練習(xí)</title>?</head>?<body>? <input id="btn1" type="button" value="左移"/>? <input id="btn2" type="button" value="右移"/>? <div id="ani1">移動(dòng)</div></br>? <span></span>? <script type="text/javascript">? $("#btn1").bind("click",function(){? $("#ani1").animate({left:"-=50px"},"slow",$("span").html("執(zhí)行左移完成"));? });? $("#btn2").bind("click",function(){? ?$("#ani1").animate({left:"+=50px"},"slow",$("span").html("執(zhí)行右移完成"));? });? </script>?</body></html>看看哪里有問題???執(zhí)行不了動(dòng)畫
查看完整描述

1 回答

  • 1 回答
  • 0 關(guān)注
  • 3810 瀏覽

添加回答

舉報(bào)

0/150
提交
取消
微信客服

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

幫助反饋 APP下載

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

公眾號(hào)

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