Availability
JavaScript 1.0
Synopsis
window.frames[i]window.frames.length
frames[i]
frames.length
Description
Though the Frame object is sometimes referred to, there is, strictly
speaking, no such object. All frames within a browser window are
instances of the Window object, and they contain the same properties
and support the same methods and event handlers as the Window object.
See the Window object and its properties, methods, and event handlers
for details.
There are a few practical differences between Window objects that
represent top-level browser windows and those that represent frames
within a browser window, however:
- When the defaultStatus property is set for a
frame, the specified status message is visible only when the mouse is
within that frame. - The top and parent properties
of a top-level browser window always refer to the top-level window
itself. These properties are really useful only for frames. - The close( ) method is not useful for Window
objects that are frames.
See Also
Window
•
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.