IFrame seamless Property
Example
Find out if an <iframe> looks like it is a part of the containing document (no borders or scrollbars):
var x = document.getElementById("myFrame").seamless;
Definition and Usage
The seamless property sets or returns whether an <iframe> should look like it is a part of the containing document (no borders or scrollbars).
This property reflects the HTML seamless attribute.
Browser Support
Property | |||||
---|---|---|---|---|---|
seamless | Not supported | Not supported | Not supported | Not supported | Not supported |
Syntax
Return the seamless property:
iframeObject.seamless
Set the seamless property:
iframeObject.seamless=true|false
Property Values
Value | Description |
---|---|
true|false |
Specifies whether an iframe should look like it is a part of the
containing document (no borders or scrollbars)
|
Technical Details
Return Value: | A Boolean, returns true if the iframe looks like it is a part of the containing document, otherwise it returns false |
---|
Related Pages
HTML reference: HTML <iframe> seamless attribute
IFrame Object