I need a solution for auto-adjusting the width
and height
of an iframe
to barely fit its content. The point is that t
It is possible to make a "ghost-like" IFrame that acts like it was not there.
See http://codecopy.wordpress.com/2013/02/22/ghost-iframe-crossdomain-iframe-resize/
Basically you use the event system parent.postMessage(..)
described in
https://developer.mozilla.org/en-US/docs/DOM/window.postMessage
This works an all modern browsers!