?
Ce document utilise Manuel du site Web PHP chinois Libérer
匹配所有正在執(zhí)行動(dòng)畫(huà)效果的元素
只有對(duì)不在執(zhí)行動(dòng)畫(huà)效果的元素執(zhí)行一個(gè)動(dòng)畫(huà)特效
<button id="run">Run</button><div></div>
$("#run").click(function(){ $("div:not(:animated)").animate({ left: "+=20" }, 1000); });