| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Feb 2007
Posts: 2
|
Menu!
I need help. I am very proud of my website .. however I have one problem. I am constantly adding new content and updating menu items. This is great, a website that has continuous new information is of great interest to many people however it is a design nightmare. What I want is to have a nested menu on each page of the site for ease of navigation. However, when I update and add content, I want to go to one place to add the item to the navigation rather than having to update every page of the site. I have looked at CSS and JavaScript options and do not find one that has this capability. I have considered Frames.. but this is not practical (and I really hate frames Any suggestions would be appreciated. Thanks! Danielle |
|
|
|
|
|
#2 (permalink) |
|
Now Freelance!
Join Date: Aug 2006
Location: Warrington, UK
Posts: 479
|
Sounds like PHP includes are the way to go. Have your navigation in a single PHP file and include it in your webpage(s). When you need to add/remove a link, edit the single PHP file and it will affect each page within your site that it is linked to. Here you go : http://www.hardcoder.com/scripting/p...lude_files.php |
|
![]() |