August 1999
Intermediate to advanced
1488 pages
72h 53m
English
frame.window
The window property of the Frame object is used to reference the current frame. This works the same as using the self property.
Listing 7.287 shows an example of the syntax of the window property.
<html> <title> Example of the window property of the Frame object</title> <script language="JavaScript"> <!--Hide //sets focus to the upper frame document.upper.window.focus(); // End Hide ---> </script> <frameset rows="100,*"> <frame src="top.html" name=upper> <frame src="bottom.html" name=bottom> </frameset> </html> |
Read now
Unlock full access