setTimeout() Examples

This web page gives an example of how to use the setTimeout() function.

Notes

Basic Use of setTimeout

Using setTimeout to close a window.

Passing Parameters to functions called by setTimeout()

I suggest to place what would normally be a parameter for the functions into global var's.  Set the var prior to the setTimeout() function and then have the called function use them.  Not to clean but it's necessary to be compatible with IE & NS.

Examples

Using Multiple setTimeout() functions