A question of opinion: Are you still using iframes?

1.6k Views Asked by At

Do iframes still fit the mold of current web standards? The technology is old but I am seeing them resurface - especially with the new youtube embed code being iframes and facebook just allowing custom tabs to be iframes as well.

My question is basically: Are the acceptable?

4

There are 4 best solutions below

0
On BEST ANSWER

Have a look at this SO question: Are IFrames (HTML) obsolete?

In short: They are part of the HTML 5 draft and will be sticking around. If used correctly, I think they are acceptable. :)

0
On

Yes, my company still uses iFrames to embed third-party content on our site.

They still have a place but, IMHO, should be a last resort.

0
On

A lot of components such as Facebook's social widgets or Youtube's embeded player use iframes.

I also use some, when needed. Of course I don't abuse it because it's not adapted for all situations.

0
On

I agree with everyone that they should be a last resort, but there are certain things that demand the use of iframes.

For instance, there's no better way to do ajax file uploading than posting to an iframe and then reacting to the iframe's onload event to handle it.