Unfortunately there is no .delay() function in jQuery. You can fake this, however, by using the .fadeTo() function:
1
|
|
This will fade the element in in one second, simulate a delay for 5 seconds (by fading it from 100% opacity to 100% opacity), then fade the element out in one second.
Obviously you can do the reverse:
1
|
|
… and any combination thereof.