• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 20. Manipulating Windows and Fra... > Referencing Multiple Windows with Ja...

Referencing Multiple Windows with JavaScript

Just creating a new window with the window.open() method does not accomplish that much. Your users can create new windows on their own—for instance, from Netscape Navigator's File, New menu selection. The window shown in Figure 20.1 was created without any of the controls, such as the menu bar. To enable it to be used as a full-fledged Web browser window, it could just as easily have been created with a menu bar, as well as with any of the other window user-interface elements.

To be able to create and use new windows, you need to be able to reference them. After you know where a new window fits into the Web browser object hierarchy detailed in Chapter 19, you can use the elements of that hierarchy to manipulate what appears in the new window. The next two sections of this chapter show you how to do just that.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint