August 1999
Intermediate to advanced
1488 pages
72h 53m
English
frame.setTimeout()
The setTimeout method of the Frame object is used to schedule a function for delayed execution. The method accepts two parameters. The first parameter is the function or expression being evaluated. The second parameter is a numeric value specifying the millisecond units that elapse before the function or expression is executed.
Listing 7.285 shows a example of the setTimeout method being used to delay the printing of text.
<html> <title> Example of setTimeout method of the Frame object</title> <script language="JavaScript"> <!-- Hide document.bottom.setTimeout(document.bottom.print("Keep ... |
Read now
Unlock full access