OZONE Asylum
FAQ
Should I use frames or iframes and if not what are the alternatives?
This page's ID:
5758
Search
QuickChanges
Forums
FAQ
Archives
Register
You are editing "Should I use frames or iframes and if not what are the alternatives?"
Who can edit an FAQ?
Anyone registered may edit an FAQ.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
You should avoid frames as they can get messy and interfere with search engines, etc. with iframes you get the extra complication of backwards compatibility (they just don't work in older browsers). There are usually 3 reasons for using frames or iframes: 1. [b]As a simple scroller[/b] - I'd recommend you use DHTML as the good ones work in more browsers than iframes do. See here for ideas: [internallink=5668]How do I make a cross-browser scroller?[/internallink] 2. [b]To load remote and/or heavy pages[/b] - you can get a similar effect without using an iframe: [internallink=5667]How do I make a cross-browser iframe effect?[/internallink] 3. [b]To make updating your site easier[/b] - I know DW and some other highend code editors make this easier but I'd recommend you use something like PHP: [url=http://www.gurusnetwork.com/tutorials/php/phptemplate/phptemplate.html]http://www.gurusnetwork.com/tutorials/php/phptemplate/phptemplate.html[/url] [url=http://www.gurusnetwork.com/tutorials/php/phptemplate2/phptemplate2.html]http://www.gurusnetwork.com/tutorials/php/phptemplate2/phptemplate2.html[/url] or SSI: [url=http://www.gurusnetwork.com/tutorials/ssi/ssi1_intro.html]http://www.gurusnetwork.com/tutorials/ssi/ssi1_intro.html[/url] -------- Whatever you need iframes (and frames in general) for there are usually better solutions to the problem and they are well worth exploring. ______________________ [internallink=4626]Emperor[/internallink] [small][i](Added by: [url=http://www.ozoneasylum.com/cgi-bin/ubbmisc.cgi?action=getbio&UserName=Emperor]Emperor [/url] on Mon 14-Jul-2003)[/i][/small] [small][i](Edited by: [url=http://www.ozoneasylum.com/cgi-bin/ubbmisc.cgi?action=getbio&UserName=Emperor]Emperor [/url] on Mon 14-Jul-2003)[/i][/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »