iFrames compatibility

admin

Administrator
Staff member
Hey all,<br />
<br />
Not being a big fan of frames I usually don't use them in my designs, however I am currently working on a project that could definitely use an iFrame in one place.<br />
<br />
Not being very familiar with them I am curious about browser and version compatibility.<br />
<br />
I quickly whipped up a page with an iframe today and tested it on my mac. It worked fine in all the latest versions of IE, Netscape, Opera, Mozilla, Safari. It DID NOT WORK in OMNIWEB, which seems to be a pretty crappy browser anyway for compatibility issues.<br />
<br />
I have not tested it yet on any pc platforms.<br />
<br />
Any advice or opinions on the use of this tool would be greatly appreciated.<!--content-->If an iframe works on IE, NN, Mozilla, and Opera, almost everyone can view it.<!--content-->Hey Zach,<br />
<br />
Yeah, I was thinking the same. I don't really care about the Omniweb compatibility as it seems to have MANY issues.<br />
<br />
I was more concerned with older versions of the browsers, as the ones that I mentioned where all the latest versions. Also, I only tested my page on Mac platforms and I am unsure if there are differences cross-platform.<!--content-->Make sure that you are using the IFRAME element properly:<br />
<br />
<iframe src=http://www.webdeveloper.com/forum/archive/index.php/"http://www.w3c.org"><a href="http:.//www.w3c.org/">W3C</a></iframe><br />
<br />
Browsers that don't understand the IFRAME element will display the link and all will be well.<!--content-->I might as well mention one browser that won't handle <iframe>s, NS 4.x.<br />
<br />
However using Charles example will provide a link to the iframe page.<br />
<br />
If you absolutely need the page to work also in NS 4.x you could add some proprietary NS 4.x code to the page to make it work the same as the rest.<br />
<br />
It looks something like this<br />
<br />
<iframe><layer>link if all else fails</layer></iframe><!--content-->Or use the <object> we had this debate yesterday :p.<!--content-->
 
Back
Top