IFrame seamless attribute
Definition and Usage
seamless
whether the <iframe> should appear as part of the containing document (without borders or scrollbars).
This attribute reflects HTML seamless attribute.
Example
Check if <iframe> appears as part of the containing document (borderless or with scrollbars):
var x = document.getElementById("myFrame").seamless;
Syntax
Return the seamless attribute:
iframeObject.seamless
Set the seamless attribute:
iframeObject.seamless = true|false
Attribute Value
Value | Description |
---|---|
true|false |
Specify whether iframe should appear as part of the containing document (borderless or with scrollbars).
|
Technical Details
Return Value: | Boolean value, returns true if the iframe looks like it is part of the document, otherwise returns false. |
---|
Browser Support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Not Supported | Not Supported | Not Supported | Not Supported | Not Supported |
Related Pages
HTML Reference Manual:HTML <iframe> seamless Attribute