History, Navigator and Frames

The last part of the object model that we still need to discuss is the remainder of

Window
’s properties: the ones that are actually objects in themselves. These objects are much simpler than
Window
and
Document
, and they aren’t used as commonly as these objects either. However, they can be very useful in certain situations, and warrant a few pages of explanation. Here's the object model again, so you can see how they're related to the rest of the hierarchy.

*** Insert diagram from 0448 VBScript Page 148 - the object model. Repeated from earlier in chapter.

The

History
object,
Navigator
object, and
Frames
collection all lie immediately off of the
Window
object in the browser hierarchy. These objects, in the order listed, provide information about the browser’s history list, the browser version, and the frames in the current document (if any).

© 1997 by Wrox Press. All rights reserved.