HOUR 10:Using Windows and Frames

What You’ll Learn in This Hour:

• The window object hierarchy

• Creating new windows with JavaScript

• Delaying your script’s actions with timeouts

• Displaying alerts, confirmations, and prompts

• Using JavaScript to work with frames

• Creating a JavaScript-based navigation frame

You should now have a basic understanding of the objects in the level 0 DOM, and the events that can be used with each object.

In this hour, you’ll learn more about some of the most useful objects in the level 0 DOM—browser windows and frames—and how JavaScript can work with them.

Controlling Windows with Objects

In Hour 4, “Working with the Document Object Model (DOM),” you learned that you can use DOM ...

Get Sams Teach Yourself JavaScript in 24 Hours now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.