I have an element that is set to fade out after a 1500ms delay. ie: Something like:
$("<div>My Element</div>").appendTo("body").delay(1500).fadeOut(400);
Is there a way in jQuery to extend this delay period while the element’s fading out is still pending?
From http://api.jquery.com/delay/
So I am afraid you can only do it with javascript
settimeout().Correct me if I am wrong. 🙂
p.s. Just to add that you can cancel the delayed animation using
.clearQueue().