473,396 Members | 2,030 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Iframes - Pros/Cons

I am considering using an Iframe to set my websites menu. I want to do this so that I only have to change just the frame page and have the entires sites menu updated. I may also do this my footer to make it more easily updatable.

However, I have heard that using Iframes for this purpose sometimes doesn't work well. Though, no one has offered any reason as to why this is true.
Jul 11 '07 #1
9 8364
drhowarddrfine
7,435 Expert 4TB
Frames and iframes Some claim problems with search engines in addition to the fact that iframes have most of the same problems as frames.
Jul 11 '07 #2
Perhaps I will avoid them for now.

Maybe a Javascript or PHP setup would be better.
Jul 11 '07 #3
nomad
664 Expert 512MB
I am considering using an Iframe to set my websites menu. I want to do this so that I only have to change just the frame page and have the entires sites menu updated. I may also do this my footer to make it more easily updatable.

However, I have heard that using Iframes for this purpose sometimes doesn't work well. Though, no one has offered any reason as to why this is true.
I would consider using templates because they works great. I have a 650 website based on two templates.
Very easy to update esp menus, only draw back is if you change a webpage name ie sales.htm, and you have a menu that contains sales.htm you have to remember to change that menu, otherwise it will not do it for you.
Good part is if you want to change or add anything in a menu it will update all the webpages for you.

nomad
PS did that make any sense...
Jul 12 '07 #4
I'm not sure that made any sense.

I use a template for each page, yet, everytime i need to change the menu to add a link i have to change every page. This is why i wanted to do an iFrame.
Jul 14 '07 #5
nomad
664 Expert 512MB
I'm not sure that made any sense.

I use a template for each page, yet, everytime i need to change the menu to add a link i have to change every page. This is why i wanted to do an iFrame.
Question What application are you using ie Dreamweaver...
if you make a template and make any changes and you save the changes the template should automatic change every page related to that template. That is the beauty of a template. Sounds like you have a Frame...
An Iframe can not do that.

nomad
Jul 14 '07 #6
Oh, I use Crimson Editor but also have GoLive. I am not sure that Crimson does this.

I see what you are saying now. Perhaps I will try this in GoLive.
Jul 14 '07 #7
nomad
664 Expert 512MB
Oh, I use Crimson Editor but also have GoLive. I am not sure that Crimson does this.

I see what you are saying now. Perhaps I will try this in GoLive.
You should have a section where you can for editable area an no-editable area.
The no-editable are your menus, and headers and of course the editable section are the text and images and footers.

good luck
nomad
Jul 14 '07 #8
Dreamweaver templates vs iframes.
If you use a template to incorporate common content into several pages, whenever you change a the template, DW has to update every page that uses the template, and you have to upload all those pages.
When you use an iframe to incorporate common content (as a separate html page) into several pages, changing that one common "page" is enough. Uploading that one common page will update every page that incorporates it via an iframe.
Although Dreamweaver will take care of ensuring that everything necessary is uploaded, it still has to be done.
It is up to you to decide whether any disadvantage of using iframes outweighs the benefit of simplicity.
Jul 21 '07 #9
Alternatively can you not just have all the menus read a common XML file? This way a simple change to the XML means only one file to upload.
Jul 24 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

13
by: Axehelm | last post by:
Okay, I'm in a debate over whether or not static methods are a good idea in a general domain class. I'm personally not a fan of static methods but we seem to be using them to load an object. ...
1
by: Ronnie Patton | last post by:
Hello everyone can you help me find some information out about pros and cons using a global.asa in any asp application My co-works are saying its your choice to use one or not based on what the...
0
by: Sniffle | last post by:
Thanks... Say you have a double opt in mailing list, of which the subcriber list is store in the db. Im still somewhat of a newb, so bear with me... are there any pros/cons as to keeping the...
0
by: Steve | last post by:
We've recently got a new Server in. The server has 16Gb of RAM, 8 cpus etc We now have a choice of sticking with Windows 2000 Advanced Server or going with Windows 2003 Enterprise edition. ...
112
by: Andy | last post by:
Hi All! We are doing new development for SQL Server 2000 and also moving from SQL 7.0 to SQL Server 2000. What are cons and pros for using IDENTITY property as PK in SQL SERVER 2000? Please,...
2
by: Precious | last post by:
I have to give a presentation on pros and cons of .NET to our clients, who are already using our VB6/SQL Server 2000 application....(Yes, we are too late)...Many of you must have done the same...
5
by: Fred | last post by:
Not much expertise on XSLT and trying to understand it's uses when creating apps in VS.NET? If I wanted flexibility on the UI (View aspect of M.V.C.): - How does it compare with creating...
2
by: scott | last post by:
Hi, Just wondering what sort of problems and advantages people have found using stored procedures. I have an app developed in VB6 & VB.NET and our developers are starting to re-write some of the...
3
by: Andrea | last post by:
Hello everyone, I'd like to know which are the main pros and cons of using XML implementation in business organizations. >From a technical perspective, I find XML powerful, but looks like it is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.