I found one of the biggest problems with iframe
was that I could not paste a link from one of the subpages, because the URL never changed (yes, I know that there is an alternative solution for this). Secondly, the problems in web search engine indexes can be sites properly.
Sometimes the access to this site is poor and some browsers can display them inappropriately.
There are better ways (I) every day to design a layout without frame, I am asking a question like, "How to reach iframe with jquery?"
So what are the benefits of iframes? The reason for this can still be to use them? I just want to know why :)
(because this is not a real question, it is a CW)
I can think of two reasons (why) people will still use iframes instead of AJAX:
1) If the IRMS cross domain basic policy (picture, script , And not the style). It can be useful to safely drag into sites / content from other domain names, in fact, with the unlimited access to data from other domains, the benefit of showing the data without hiding it on all of their pages ( Like would be able to do something like JSONP).
2) You can load many types of resources from within an iframe, not only the fixed mime-type (you are relatively application / javascript, app / x-javascript, text / css, text / XML, image / PNG, image / JPG, are limited to image / GIF with script, XHR, images, and sources). For example, if I want to show you a PDF, then I can open an iframe and the Adobe Reader plugin can show you that file. Additionally, in the same domain, if I want to pipeline a script, style and image together (inline on the page, the image will have to be data urr), I can complete it with an iframe (and if It is in the same domain, port, and protocol I can access it with Javascript too)
Do you know that Gmail has a set of iframes? Additionally, many ohth implementations (Twitter, Facebook, Google, Yahoo!) generally use iframes to associate a user with a successful authentication URL (after the user logs) on their domain. Let's do it.
Comments
Post a Comment