Dynamic/Auto height on Iframe?

Hi,
I am looking to add some code that will allow my Iframe to be automatically resized to the height of the Iframe content?

Dave

Have a look at the reference page for HTML Components itself.
https://www.wix.com/corvid/reference/$w.HtmlComponent.html

Functions within this lets you do the following.

  • Use the scrolling property to set whether your HTML Component displays scrollbars.

  • Use the allowFullScreen() function to let site visitors open the HTML component in full screen mode.

Also, have a look into using Wix Open Modal instead.
https://www.wix.com/corvid/reference/wix-window.html#openModal

Also, check out these previous form posts about it too.
https://www.wix.com/corvid/forum/community-discussion/html-iframe-with-dynamic-height
https://www.wix.com/corvid/forum/community-discussion/making-content-inside-an-iframe-mobile-friendly
https://www.wix.com/corvid/forum/community-feature-request/modify-the-url-of-an-embedded-iframe
https://www.wix.com/corvid/forum/corvid-tips-and-updates/example-fullscreen-with-htmlcomponent