6. Working with Windows

The window is the most important interface element in a Web browser, and as you might expect, JavaScript provides you with many tools to manipulate windows

JavaScript deals with windows in ways similar to that of frames. This makes perfect sense, since frames are just other document windows within the overall browser window.

In this chapter, you’ll learn how to use JavaScript to open and close, update, and position windows. You’ll see how you can use JavaScript to write information into windows, so you can build a Web page on the fly.

Don’t Kill Those Pop-Ups!

This chapter is about creating and working with windows using JavaScript. There’s a name for these windows; they’re called pop-up windows, and they’ve become a ...

Get JavaScript and Ajax for the Web: Visual QuickStart Guide, Seventh Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.