July 2003
Intermediate to advanced
512 pages
13h 8m
English
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 (see Chapter 6). 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, scroll, update, and position windows, and create windows that you can use as control panels. You'll see how you can use JavaScript to write information into windows, so you can build a Web page on the fly. You'll also learn how to make events happen when a window loads, a technique you'll use often. ...
Read now
Unlock full access