跳到主文
部落格全站分類:
尋找所有正在執行動畫效果的元素。
Array<Element>
只有對不在執行動畫效果的元素執行一個動畫特效。
<button id="run">Run</button><div></div>
("#run").click(function(){ ("div:not(:animated)").animate({ left: "+=20" }, 1000); });
香腸炒章魚
mitblog 發表在 痞客邦 留言(0) 人氣(274)