class js.html.IFrameElement extends Element

Available on js

DOM iframe objects expose the HTMLIFrameElement (or HTML 4 HTMLIFrameElement) interface, which provides special properties and methods (beyond the regular element object interface they also have available to them by inheritance) for manipulating the layout and presentation of inline frame elements.

Documentation for this class was provided by MDN.

Instance Fields

var align:String

Specifies the alignment of the frame with respect to the surrounding context.

var contentDocument:Document

The active document in the inline frame's nested browsing context.

var contentWindow:DOMWindow

The window proxy for the nested browsing context.

var height:String

Reflects the

height HTML attribute, indicating the height of the frame.

var longDesc:String

URI of a long description of the frame.

var marginHeight:String

Height of the frame margin.

var marginWidth:String

Width of the frame margin.

var name:String

Reflects the

name HTML attribute, containing a name by which to refer to the frame.

var sandbox:String

Reflects the

sandbox HTML attribute, indicating extra restrictions on the behavior of the nested content.

var scrolling:String

Indicates whether the browser should provide scrollbars for the frame.

var src:String

Reflects the

src HTML attribute, containing the address of the content to be embedded.

var srcdoc:String

The content to display in the frame.

var width:String

Reflects the

width  HTML attribute, indicating the width of the frame.