IFRAMEIFRAME*
*Contents  *Index  *Topic Contents
*Previous Topic: I
*Next Topic: IMG

IFRAME

Description

Creates inline floating frames.

Remarks

This element is a block element.

The IFrame functions as a document within a document. Consequently, access to the IFrame object is provided through the frames collection. Use the frames collection to read or write to elements contained in an IFrame.

Properties

align, className, dataFld, dataSrc, document, frameBorder, frameSpacing, hspace, id, innerHTML, innerText, isTextEdit, lang, language, marginHeight, marginWidth, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, outerHTML, outerText, parentElement, parentTextEdit, scrolling, sourceIndex, src, style, tagName, title, vspace

Methods

contains, getAttribute, insertAdjacentHTML, insertAdjacentText, removeAttribute, scrollIntoView, setAttribute

Collections

all, children

Example

The following code returns a reference to the all collection within the IFrame.

document.all.frames["MyIFrame"].document.all

HTML Element

IFRAME


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.