HTML and CSS Reference
EXPLANATION ( CONTINUED )
The location property of the parent window is assigned the URL of the window
currently being viewed in the right frame. This forces the right frame to take up
the entire window. The menu bar is no longer displayed.
This list of links makes up the menu bar and is in the left frame (see Figure 10.29).
When the user clicks this link, the collapse() function is called, and the menu dis-
appears, causing the right frame to take up the entire window (see Figure 10.30).
Figure 10.29 Two frames, a menu, and the main frame: The user clicked on Page 1.
Figure 10.30 The user clicked Hide Menu . The larger frame has expanded to fill the
entire page. Backpaging will take you back to the menu.