THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

IFrame seamless Property

Frame/IFrame Object Reference IFrame Object

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

Internet Explorer Firefox Opera Google Chrome Safari

The seamless property is no not supported in any of the major browsers.


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)
  • true - The iframe should look like it is a part of the containing document
  • false - Default. The iframe should not look like it is a part of the containing document

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


Frame/IFrame Object Reference IFrame Object