Chapter 13. Windows and Frames
Chapter 12 described the Window object and the central role it
plays in client-side JavaScript. We've seen that the Window
object serves as the global object for client-side JavaScript
programs, and, as illustrated in Figure 12-1, it is
also the root of the client-side object hierarchy.
Besides these special roles, the Window object is an important object
in its own right. Every web browser window and every frame within
every window is represented by a Window object. The Window object
defines quite a few properties and methods that are important in
client-side JavaScript programming. This chapter explores those
properties and methods and demonstrates some important techniques for
programming with windows and frames. Note that because the Window
object is so central to client-side programming, this chapter is
quite long. Don't feel you have to master all this material at
once -- you may find it easier to study this chapter in several
shorter chunks!
•
Table of Contents
•
Index
•
Reviews
•
Examples
•
Reader Reviews
•
Errata
JavaScript: The Definitive Guide, 4th Edition
By
David Flanagan
Publisher
: O'Reilly
Pub Date
: November 2001
ISBN
: 0-596-00048-0
Pages
: 936
Slots
: 1
This fourth edition of the definitive reference to
JavaScript, a scripting language that can be embedded
directly in web pages, covers the latest version of the
language, JavaScript 1.5, as supported by Netscape 6 and
Internet Explorer 6. The book also provides complete
coverage of the W3C DOM standard (Level 1 and Level 2),
while retaining material on the legacy Level 0 DOM for
backward compatibility.