Iframe Resizing: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Markkinchin (talk | contribs) No edit summary |
||
| Line 17: | Line 17: | ||
== Your web page == | == Your web page == | ||
Refer to the developers web site for a full set of options, instructions and problem solving. | Refer to the developers web site for a full set of options, instructions and problem solving. | ||
*Download the iframeResizer.contentWindow.min.js file from the developer site or from https://beds24.com/include/iframeresizer/3.5.3/iframeResizer.min.js | |||
*Upload the file to your web server and place it in the same directory as your web page. | |||
*Remove any height parameter from your iframe and add the script after the iframe, if necessary change the src path to the location of your iframeResizer.min.js file. | |||
| Line 34: | Line 31: | ||
iFrameResize(); | iFrameResize(); | ||
</script> | </script> | ||
Make sure to use the same version number files on the booking page and your web page. (in this example 3.5.3) | |||
If you prefer, you can set a fixed iframe width in pixels rather than a percentage. | |||