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

Using Window Events

You can use several 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 XHTML document creates another Web browser window, loads another document (Text.htm) 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