Page 1 of 1
Adaptive content in flexcontainer using iframe
Posted: Sun Sep 15, 2019 11:00 am
by Lemoner
How to make my dynamic content to be responsive with full height in iframe?
I put iframe in flexcontainer but the height is not responsive.
Re: Adaptive content in flexcontainer using iframe
Posted: Sun Sep 15, 2019 11:25 am
by BaconFries
A iframe itself can be responsive in its own right. If the contents of the iframe are not responsive then it will be displayed "AsIs". To resolve then you should ensure the content is also responsive.
Re: Adaptive content in flexcontainer using iframe
Posted: Sun Sep 15, 2019 11:49 am
by Pablo
In HTML, the height of an inline frame will not automatically be updated. This requires a script.
For example:
https://github.com/davidjbradshaw/iframe-resizer
Later this year I am planning to release an extension for this.