Embedding Third Party Material into a Scalar Page
The best way to embed a map, timeline or any other third party platform into a Scalar page is by using an iframe tag (read more about iframes here). Here's how to do it.
Frameborder defines the width of the border around the material inside the iframe; a frameborder of 0 means there is no frame; a frameborder of N (frameborder="N") will place a border N pixels wide around the material.
Width sets the width of the material displayed. Width can be set to pixels or percentages. Setting the width to 100% (as in the example above) allows the iframe to expand to the maximum width allowed inside the main content area of a Scalar page.
Height sets the height of the material displayed. In the example above, we've set the height to 650 pixels.
Click below to see examples of Scalar pages with third party platforms embedded.
- Click edit at the bottom of the Scalar page in which you wish to insert your map, timeline or other third party material.
- Click the HTML tab at the top of the page editor.
- Find the url where the map, timeline or other material resides.
- Paste the code below into the html editor, being sure to insert the url you have inside the quotation marks after src=. Also be sure to include http:// at the beginning of the url you're using.
<iframe src="[your url]" frameborder="0" height="650" width="100%"></iframe>
<iframe src="http://www.tiki-toki.com/timeline/embed/137152/4308693385" frameborder="0" width="100%" height="650" ></iframe>And the page with embedded material should look like this.
Frameborder defines the width of the border around the material inside the iframe; a frameborder of 0 means there is no frame; a frameborder of N (frameborder="N") will place a border N pixels wide around the material.
Width sets the width of the material displayed. Width can be set to pixels or percentages. Setting the width to 100% (as in the example above) allows the iframe to expand to the maximum width allowed inside the main content area of a Scalar page.
Height sets the height of the material displayed. In the example above, we've set the height to 650 pixels.
Click below to see examples of Scalar pages with third party platforms embedded.
Discussion of "Embedding Third Party Material into a Scalar Page"
Add your voice to this discussion.
Checking your signed in status ...