-
-
Notifications
You must be signed in to change notification settings - Fork 982
Description
@davidjbradshaw I've been trying to get your script to work with my project, but haven't been successful.
You can view my attempt here: http://phoogoodev.com/ellison/store
If you inspect the element or view source, you'll see that I've linked to the proper files on both the host page (in the footer) as well as on the content page (you'll find the iframeResizer.contentWindow.min.js file linked to in #header > #header-wrap > #mobile-nav-wrap > .header-search > FORM ... this is the only place I was able to insert any custom code).
I've tried only setting the width attribute of the iframe to 100% and leaving out the height attribute as your documentation demonstrates, but this did not work. So then I tried adding a height attribute and also adding a style attribute with min-height: 600px; but neither of those approaches worked.
I also tried changing the heightCalculationMethod option to bodyScroll but that also did not solve anything.
Am I using your plugin incorrectly? There are quite a few errors in the console, but none of them refer to any of the iframe-resizer files or tasks, so I'm not sure where to start troubleshooting. Please let me know how I should proceed.
Thank you in advance for your help!