Chapter 5. OPENING AND MANIPULATING WINDOWS

JavaScript gives you the ability to open multiple browser windows and control what's inside them. JavaScript can also change where windows are located on your visitor's screen. You can use the windows you open to present a slide show or some help information or to build a remote control device for your site.

In this chapter, you'll learn how to:

  • Open new windows with JavaScript

  • Make those windows look the way you'd like

  • Position the windows on your visitor's screen

  • Swap images inside windows you've opened

Real-World Examples of Opening Windows to Further Information

Let's begin with a quick look at two examples of windows linked from home pages. The Network for Good (http://www.networkforgood.org) is one of ...

Get The Book of JavaScript, 2nd 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.