I want to fade out an element and all its child elements after a delay of a few seconds. but I haven\'t found a way to specify that an effect should start after a specified
I've written a plugin to let you add a delay into the chain.
for example $('#div').fadeOut().delay(5000).fadeIn(); // fade element out, wait 5 seconds, fade element back in.
It doesn't use any animation hacks or excessive callback chaining, just simple clean short code.
http://blindsignals.com/index.php/2009/07/jquery-delay/