HTMLFrameElement Prototype
Defines the properties and methods inherited by objects in the HTMLFrameElement prototype chain.
Syntax
HTML N/A Scripting HTMLFrameElement.prototype
Members Table
The following table lists the members exposed by the HTMLFrameElement Constructor object.
Attributes/Properties
Attribute Property Description ALLOWTRANSPARENCY allowTransparency Sets or retrieves whether the object can be transparent. contentDocument Retrieves the document object of the page or frame. contentWindow Retrieves the window object of the specified frame or iframe. DATAFLD dataFld Sets or retrieves a field of a given data source, as specified by the dataSrc property, to bind to the specified object. DATASRC dataSrc Sets or retrieves the source of the data for data binding. FRAMEBORDER frameBorder Sets or retrieves whether to display a border for the frame. FRAMESPACING frameSpacing Sets or retrieves the amount of additional space between the frames. HEIGHT height Gets or sets the height of the object. http://msdn.microsoft.com/en-us/library/ms534132.aspx longDesc Gets or sets a Uniform Resource Identifier (URI) to a long description of the object. MARGINHEIGHT marginHeight Sets or retrieves the top and bottom margin heights before displaying the text in a frame. MARGINWIDTH marginWidth Sets or retrieves the left and right margin widths before displaying the text in a frame. NAME name Sets or retrieves the frame name. NORESIZE noResize Sets or retrieves whether the user can resize the frame. SCROLLING scrolling Sets or retrieves whether the frame can be scrolled. SRC src Sets or retrieves a URL to be loaded by the object. WIDTH width Gets or sets the width of the object. Events
Styles
Style attribute Style property Description border border Sets or retrieves the properties to draw around the object. border-color borderColor Gets or sets the border color of the object.
Remarks
For more information on this and other DOM Prototypes , see Document Object Model Prototypes, Part 1: Introduction.
This prototype derives from the Element Constructor.
Applies To
FRAME
See Also