How to: Delay with jQuery ∞
While building my site, I encountered an instance which required a ‘wait’ or ‘delay’ function. Unfortunate, until I came across this light-weight and plug-in-free solution:
.animate({opacity: 1.0}, 3000);
(Where 1000 is the time-length [in milliseconds] you want to wait for).
Comments
So this is what happens when you have an unpopular blog… Quick, leave a reply to stop me from talking to himself.