Iframe Resizing: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
== Introduction ==
== Introduction ==


This is a third party code project which can be installed on your booking page and your web site to autocratically resize the iframe containing your booking page to fir the content.
This is a third party code project which can be installed on your booking page and your web site to automatically resize the iframe containing your booking page to fit its content without using scroll bars.


For support using this code please refer to the developer: https://github.com/davidjbradshaw/iframe-resizer
Beds24 can not answer questions about this code, for support please refer to the developer site: https://github.com/davidjbradshaw/iframe-resizer




Line 23: Line 23:
== Your web page ==
== Your web page ==


Refer to the develpers web site for full instructions and problem solving.
Refer to the developers web site for a full set of options, instructions and problem solving.


Obtain the file iframeResizer.min.js and copy it to your web server.
Obtain the file iframeResizer.min.js and copy it to your web server.


Make sure to use the same version number as the iframeResizer.contentWindow.min.js which has been added to the booking page
Make sure to use the same version number as the iframeResizer.contentWindow.min.js which has been included on the booking page.


The file can be downloaded from github or from https://beds24.com/include/iframeresizer/3.5.3/iframeResizer.min.js
The file can be downloaded from the developer site or from https://beds24.com/include/iframeresizer/3.5.3/iframeResizer.min.js


Remove any height parameter from your iframe and add the script after the plugin, if necessary change the src path to the location of your iframeResizer.min.js file
Remove any height parameter from your iframe and add the script after the plugin, if necessary change the src path to the location of your iframeResizer.min.js file