Tuesday, October 9, 2007

No More IFrames!!!

So, you want to pull some information from another site into a Web page, and your fancy-pants AJAX idea won't work because you can't grab data from a different server using xmlhttprequest?

Don't reach for that IFRAME!!! Use Object instead.

<object data="frame.html" type="text/html">
If you can see this line, your browser doesn't properly support w3c standards.

Here's the low down in the HTML4.1 Spec and the XHTML 2 Spec.

No comments: