how to make iframe resizeable

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
michael@ojabiler.dk
 
 
Posts: 19
Joined: Wed Aug 29, 2018 2:00 pm

how to make iframe resizeable

Post by michael@ojabiler.dk » Thu Nov 08, 2018 9:02 am

Hi experts,

We use iframes to show a list of cars.
We don't know how many cars in each categori so now i have set the size of the iframe to 1267, 13011
Is it possible to make the iframes resizeable in web builder if yes how do i do?

https://leasebil.nu/privatleasing/

Best regards Michael

User avatar
BaconFries
 
 
Posts: 4187
Joined: Thu Aug 16, 2007 7:32 pm

Re: how to make iframe resizeable

Post by BaconFries » Thu Nov 08, 2018 10:13 am

If you are meaning that you wish the height to 100% of the iframe to automatically resize with the content without scrollbars then this is not possible. You can make the iframe responsive by using breakpoints and placing in a layout grid. If the content is from a external sources then that to must also be responsive.
The following may be useful for setting the height but may not be cross browser compatible.
https://stackoverflow.com/questions/997 ... hout-using

michael@ojabiler.dk
 
 
Posts: 19
Joined: Wed Aug 29, 2018 2:00 pm

Re: how to make iframe resizeable

Post by michael@ojabiler.dk » Thu Nov 08, 2018 11:47 am

Thank you baconfries for your reply.

I am looking for the possibility to make the iframe height resizeable and only fit the number of cars. Now the height is fixed.

With this selection there are many items and they almost fill the iframe height
https://leasebil.nu/privatleasing/vw/

butt with his selection the height of the iframe is to big
https://leasebil.nu/privatleasing/toyota/

Is that possible in webbuilder)

Best regards Michael

User avatar
BaconFries
 
 
Posts: 4187
Joined: Thu Aug 16, 2007 7:32 pm

Re: how to make iframe resizeable

Post by BaconFries » Fri Nov 09, 2018 8:25 am

Have your tried resizing the iframe? on viewing the source it is still using the default size. I also noticed that the iframes are on layers so they may take the child size of the layers. As previously mentioned there is no standard way to make the iframe automatically resize with what the content is due to compatibility across all browsers and requires custom coding please see the url provided

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests