Page 1 of 1
Fluid iFrame
Posted: Fri Apr 03, 2020 12:27 pm
by mlsto
Hello
Is it possible to have a fluid iframe, meaning it will show full width without scroll bars and the height will also fit in place without scroll bars.
Also the responsive sizes will conform without scroll bars and it will fit the smaller sizes fluidly.
Thank you
Re: Fluid iFrame
Posted: Fri Apr 03, 2020 1:12 pm
by Pablo
You can set the 'full width' property of the inline frame to 'true' to make it flexible (in combination with layout grid).
HTML does not have a 'full height' option, but this extension may be helpful:
http://wysiwygwebbuilder.com/iframeresizer.html
Re: Fluid iFrame
Posted: Sat Apr 04, 2020 10:49 am
by mlsto
Thank you but the height will not change with the extension unless I am doing something wrong in the extension.
Seems you have to resize the height manually which is what I did not want to do.
Re: Fluid iFrame
Posted: Sat Apr 04, 2020 11:25 am
by Pablo
Did you read the documentation of the extension?
Re: Fluid iFrame
Posted: Sat Apr 04, 2020 12:01 pm
by mlsto
Yes, it has two extensions that you have to use, I placed both on the page but still the height does not change.
Re: Fluid iFrame
Posted: Sat Apr 04, 2020 1:10 pm
by Pablo
The second extension should be placed on the page that is inside the frame.
Re: Fluid iFrame
Posted: Sat Apr 04, 2020 8:03 pm
by mlsto
I see what you mean, but that is for an internal page you want in an iframe, you can place the extension on that internal page.
I am trying to use the fluid iframe for an external page not an internal page.
Thank you
Re: Fluid iFrame
Posted: Sat Apr 04, 2020 8:14 pm
by Pablo
I am trying to use the fluid iframe for an external page not an internal page
Sorry, that is not possible. You cannot determine the height of an external page via JavaScript.