jQuery provides several tools for managing animations.
Stop currently running animations on the selected elements.
Wait the specified number of milliseconds before running the next animation.
$('h1').show(300).delay(1000).hide(300);
If this value is true, there will be no transition for animations; elements will immediately be set to the target final state instead. This can be especially useful when dealing with older browsers; you also may want to provide the option to your users.
Copyright Rebecca Murphey, released under the Creative Commons Attribution-Share Alike 3.0 United States license.