IFrame seamless-eigenschap
Definitie en gebruik
seamless
Eigenschapsinstellingen of -terugkeer die aangeven of <iframe> eruit moet zien alsof het een deel van het document is dat wordt ingesloten (zonder rand of scrollbalk).
Deze eigenschap reflecteert HTML seamless-eigenschap.
Voorbeeld
Controleer of <iframe> eruitziet alsof het een deel van het document is dat wordt ingesloten (zonder rand of scrollbalk):
var x = document.getElementById("myFrame").seamless;
Syntaxis
Geef de seamless-eigenschap terug:
iframeObject.seamless
Stel de seamless-eigenschap in:
iframeObject.seamless = true|false
Eigenschapswaarde
Waarde | Beschrijving |
---|---|
true|false |
Stel in of iframe eruit moet zien alsof het een deel van het document is dat wordt ingesloten (zonder rand of scrollbalk).
|
Technical details
Return value: | Boolean value, if the iframe looks like it is part of the document, it returns true, otherwise it 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