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
Any tip to adjust the height of iframe?
-
- Posts: 17
- Joined: Fri Oct 20, 2017 8:29 am
Try here,it worked for me:
https://wiki.beds24.com/index.php/Iframe_Resizing
https://wiki.beds24.com/index.php/Iframe_Resizing
-
- 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/
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/