View RSS Feed

molendijk

Emulating the HTML5 seamless iframe attribute

Rate this Entry
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.

Submit "Emulating the HTML5 seamless iframe attribute" to del.icio.us Submit "Emulating the HTML5 seamless iframe attribute" to StumbleUpon Submit "Emulating the HTML5 seamless iframe attribute" to Google Submit "Emulating the HTML5 seamless iframe attribute" to Digg

Tags: None Add / Edit Tags
Categories
Uncategorized

Comments