View the original community article here
Last tested: Jul 3, 2018
An iframe is an HTML element wherein you can render an entirely different HTML document, potentially from an entirely different server. It's basically HTML inception. "iframe" is short for "inline frame"; it isn't an Apple product so I see no reason why you would capitalize the 'F'. And as you'd suspect, there is a non-inline <frame>
element, but it's been deprecated with HTML5.
An iframe takes the following form:
<iframe attr1="val1" attr2="val2" ... attrN="valN"></iframe>
...where each attr
is one of the following:
Attribute | Value | Description |
height | pixels | Specifies the height |
name | text | Specifies the name |
sandbox | allow-forms, allow-pointer-lock, allow-popups, allow-same-origin, allow-scripts, allow-top-navigation | Enables an extra set of restrictions for the content |
src | url | Specifies the address of the document to embed |
srcdoc | html code | Specifies the HTML content of the page to show, as an alternative to src |
width | pixels | Specifies the width |
For SSO embedding, we care mostly about the src
attribute, wherein you supply a specialized URL that automatically authenticates the viewer into the Looker instance and then retrieves some content to be displayed in the iframe.
This content is subject to limited support.