August 1999
Intermediate to advanced
1488 pages
72h 53m
English
frame.setInterval()
The setInterval method of the Frame object is used to schedule a function for repeated execution. It takes two parameters. The first parameter is the expression being executed. The second parameter is the time in milliseconds that elapses before the expression is executed again. The function being executed is stopped by calling the clearInterval method.
Listing 7.284 shows a simple example of a setInterval method call. For a more detailed example, see window.setInterval.
<script language="JavaScript"> <!-- Hide Frame.setInterval(document.write('Begin writing", 50); // End ... |
Read now
Unlock full access