Any tip to adjust the height of iframe?

Everything related to your website and the Beds24 widgets
Post Reply
[email protected]
Posts: 22
Joined: Tue Jan 15, 2019 8:45 am

Hello experts,

I am trying to embed an iframe to my booking page.
As the height of iframe varies to what the query returns, it is not realistic to specify the static value for iframe height.

Is there any solution to adjust & resize the height to the content length?

Regards,
Mayumi
benidormsky
Posts: 17
Joined: Fri Oct 20, 2017 8:29 am

[email protected]
Posts: 22
Joined: Tue Jan 15, 2019 8:45 am

Thanks benidormsky for the info.

As my CMS doesn't allow placing additional .js file in the system, I put this alternatively.
<script type="text/javascript" src="https://beds24.com/include/iframeresize ... "></script> <script type="text/javascript">iFrameResize();</script>
and unfortunately, this didn't work for me :(

Removing "height" parameter resulted in the short iframe like this. https://fida-staging.work/guesthouse/book-iframe/
Post Reply