Using delay with animate() method is a quick, and easy way in jQuery to delay actions without using the setTimeout method. You can add an animate function to your chain and then animate the element, so it doesn’t look like there is anything happening
For ex. If you want to open a dialog, and then close it after 10 seconds. You can do it like this
$(function(){$("body").append("<div class='dialog'></div>").<em>animate({ opacity : 1.0 }, 10000)</em>.fadeOut();
});
How to delay animation in jQuery
Using delay with animate() method is a quick, and easy way in jQuery to delay actions without using the...
animation delay jquery
&nsbp;
Also tagged with one or more of these keywords: animation, delay, jquery
General Information →
About DesignContest →
Infractions and payment pending/delayStarted by Mulamb0, 19 Sep 2023 ![]() |
|
![]() |
||
General Information →
About DesignContest →
Winner but haven't heard from CHStarted by DesignBear, 09 Nov 2016 ![]() |
|
![]() |
||
Designer's Resources →
Tutorials →
Creating a Form in CSS and JQUERYStarted by Salwa, 16 Jul 2014 ![]() |
|
![]() |
||
Web Design →
Javascript →
JQuery scrollTop()Started by SmartWeb, 12 Mar 2013 ![]() |
|
![]() |
||
Web Design →
Javascript →
jQuery stop()Started by DesGuru, 02 Nov 2012 ![]() |
|
![]() |
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users