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

Chapter 20. Manipulating Windows and Fra... > Making Use of Window Events

Making Use of Window Events

You can use a number of events associated with the window object in your scripts to control what they do and when they do it. The events are listed in Chapter 19. This section gives you an example of how you might use a few of them. Listing 20.5 shows Window4.htm. This HTML document creates another Web browser window, loads another document (Text.htm, which is not listed here but is included on the CD-ROM) into it, and automatically scrolls through the document. Figure 20.4 shows these two windows after they are first created.

Figure 20.4. Small child windows are a good way to show additional information related to your Web site.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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