window.setTimeout()
Sets a delay for executing a function.
Syntax
ID = window.setTimeout("funcName", delay)Parameters
funcName is the name of the function for which you want to set a delay.
delay is the number of milliseconds (thousandths of a second) that the function should be delayed.
Example
Notes
The setTimeout() method is often used to establish a time limit on certain applications, as when a user is logged out or certain information is reset if there has not been any interaction within the given time.
See also window.clearTimeout()
Specification
DOM Level 0. Not part of specification.
Netscape Communications http://developer.netscape.com |