The frame Object [2|3|I]

The frame object reflects a frame window in JavaScript.

Properties

  • frames— An array of objects for each frame in a window. Frames appear in the array in the order in which they appear in the HTML source code.

  • parent— A string indicating the name of the window containing the frame set.

  • self— An alternative for the name of the current window.

  • top— An alternative for the name of the topmost window.

  • window— An alternative for the name of the current window.

Methods

  • alert(message)— Displays message in a dialog box.

  • blur()— Removes focus from the frame. (Not 2.)

  • clearInterval(intervalID)— Cancels timeouts created with the setInterval method. New in JavaScript 1.2 and later.

  • clearTimeout(name)— Cancels the timeout with the name name ...

Get Platinum Edition Using XHTML™, XML, and Java™ 2 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.