? 本文檔使用 php中文網(wǎng)手冊 發(fā)布
匹配所有正在執(zhí)行動畫效果的元素
只有對不在執(zhí)行動畫效果的元素執(zhí)行一個動畫特效
<button id="run">Run</button><div></div>
$("#run").click(function(){ $("div:not(:animated)").animate({ left: "+=20" }, 1000); });