Frame

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

Core client-side JavaScript object.

Description

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.

Note

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.