house9 / jquery-iframe-auto-height

jQuery plugin to set the height of an iframe to its contents height
https://github.com/house9/jquery-iframe-auto-height
453 stars 211 forks source link

Fixed problem with window.top #60

Closed KeesCBakker closed 9 years ago

KeesCBakker commented 9 years ago

When the iframe parent is framed by another application, the domains do not match. This causes the plugin to fail. Solution: use window.parent instead of window.top.

house9 commented 9 years ago

I am closing this for now and will incorporate soon File change needs to be added to the real source file which I will do shortly, I am in the process of restructuring the main repo