O'Reilly logo

Sams Teach Yourself HTML, CSS and JavaScript All in One by Julie C. Meloni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 20. Using Windows and Frames

WHAT YOU’LL LEARN IN THIS CHAPTER:

• How to access and use the window object hierarchy

• How to create new windows with JavaScript

• How to delay your script’s actions with timeouts

• How to display alerts, confirmations, and prompts

• How to build a frameset

• How to link between frames and windows

• How to use JavaScript to work with frames

• How to use inline frames

Now that you’ve gotten your feet wet with basic JavaScript functionality, let’s return to some specific aspects of the Document Object Model (DOM). In this chapter, you’ll learn more about some of the most useful objects in the DOM—browser windows and frames—and how JavaScript can interact with them.

Controlling Windows with Objects

In

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required