DOM IFrame Object
The IFrame object represents an HTML inline frame.
For each <iframe>
tag in an HTML document, an IFrame object is created.
Properties
Property | Description |
---|---|
align |
Sets or returns the value of the align attribute in an iIFrame |
contentDocument |
Returns the document object generated by a IFrame/iIFrame |
contentWindow |
Returns the window object generated by a IFrame/iIFrame |
IFrameBorder |
Sets or returns the value of the IFrameborder attribute in a IFrame/iIFrame |
height |
Sets or returns the value of the height attribute in an iIFrame |
longDesc |
Sets or returns the value of the longdesc attribute in a IFrame/iIFrame |
marginHeight |
Sets or returns the value of the marginheight attribute in a IFrame/iIFrame |
marginWidth |
Sets or returns the value of the marginwidth attribute in a IFrame/iIFrame |
name |
Sets or returns the value of the name attribute in a IFrame/iIFrame |
noResize |
Sets or returns the value of the noresize attribute in a IFrame |
scrolling |
Sets or returns the value of the scrolling attribute in a IFrame/iIFrame |
src |
Sets or returns the value of the src attribute in a IFrame/iIFrame |
width |
Sets or returns the value of the width attribute in an iIFrame |
Events
Event | Description |
---|---|
onload |
Script to be run immediately after a IFrame/iIFrame is loaded |
Standard Properties and Methods
This object also supports the standard properties and methods.
Standard Events
This object also supports the standard events.