Java Reference
In-Depth Information
The parent window
object—defined in page
ch08_examp1.htm
First child window
object—name
upperWindow , file
ch08_exampl_upper.htm
Second child window
object—name
lowerWindow , file
ch08_exampl_lower.htm
Figure 8-1
If any of the frames had frames contained inside them, these would have window objects that were
children of the window object of that frame.
When you load ch08_examp1.htm into your browser, you'll see a series of four message boxes, as shown
in Figures 8-2 through 8-5. These are making use of the window object's properties to gain information
and demonstrate the window object's place in the hierarchy.
Figure 8-2
Figure 8-3
Search WWH ::




Custom Search