Monday, May 26th, 2008
Omar AL Zabir has posted about a new library called UFrame:
To use it you simply setup a div:
- <div class="UFrame" id="UFrame1" src="SomePage.aspx?ID=UFrame1">
- <p>This should get replaced with content from Somepage.aspx</p>
This reminds me a little of purple includes which let you grab pieces of remote documents.
iframes are notoriously slow, and this is one reason why the Caja project exists. If we can trust code to be in the page itself, it can render a lot faster (think widgets in a page).
Also, sometimes I wish I could just say: <div nobleedingcss> around comments in a blog say, so no CSS or formatting from within can effect the outer page (e.g. bad closing of a tag).
Posted by Dion Almaer at 9:32 am