JavaScript 1.0+, JScript 1.0+ Nav2+, IE 3+, Opera3+ Syntax

Core client-side JavaScript object.


A window can display multiple, independently scrollable frames on a single screen, each with its own distinct URL. The Frame object, which has an instance created with each occurrence of the <frame> tag, is a convenience for thinking about the objects that make up these frames. However, JavaScript actually represents a frame using a Window object. Every Frame object is a Window object, and has all the methods and properties of a Window object. Table 7.28 shows Frames available methods and properties.


The majority of examples for the Frame object assume that top.html and bottom.html files exist. Some examples also only display ...

Get Pure JavaScript now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.