Emulating the HTML5 seamless iframe attribute
by
, 06-09-2015 at 11:29 PM (18734 Views)
There are many scripts that present a method for setting the iframe's height to match its contents. But I looked in vain for a script that integrates the iframe in a completely seamless way into the containing document. So I tried to write a script for emulating seamless iframes myself.
My seamless iframes are competely indistinguishable from the surrounding text/content and inherit their css from the main document. All the code is put in the main document. No special code required in the external (iframed) documents.
Explanations and demos here.