jQuery Animation Delay

混江龙づ霸主 提交于 2019-12-05 08:50:43

use the jQuery .delay(N) methods, where N is the milliseconds to delay.

jsFiddle example

Here is the call you are looking for http://api.jquery.com/delay/

.delay(n) // where n is the millis of delay

use is as follows

$.animate(action1).delay(n).animate(action2)
// this code puts the delay bewtween two different animations
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!