Select to view content in your preferred language

Iframe for storymap embed not doing anything

255
1
Jump to solution
01-15-2025 12:05 PM
Labels (2)
AdamGibbs
New Contributor

I am trying to embed a URL into my storymap but want to decrease the scale of the webpage inside the url. i am using this iframe code, and different versions, but nothing maps the embed scale change. 

To embed the URL https://www.weather.gov/pqr/AllBars into an iframe and decrease the scale of the embed to 80%.

<iframe src="https://www.weather.gov/pqr/AllBars" frameborder="0" width="100%" height="100%" style="transform: scale(0.8); transform-origin: 0 0; border: none; overflow: hidden;" scrolling="no"> </iframe>
0 Kudos
1 Solution

Accepted Solutions
OwenGeo
Esri Notable Contributor

@AdamGibbs - The <style> tag is not supported in iframes for security and maintenance reasons. You could do this by hosting your own simple web page that embeds and resizes the weather.gov site the way you need and then embedding that page in your story.

Owen Evans
Lead Product Engineer | StoryMaps

View solution in original post

0 Kudos
1 Reply
OwenGeo
Esri Notable Contributor

@AdamGibbs - The <style> tag is not supported in iframes for security and maintenance reasons. You could do this by hosting your own simple web page that embeds and resizes the weather.gov site the way you need and then embedding that page in your story.

Owen Evans
Lead Product Engineer | StoryMaps
0 Kudos