| | |
|
|
|
Best Way To Dynamically Update A Nav Bar? |
| message from abisconti3 on 21 Jul 2004 |
What is the best way to update a single file for the navigation bar/menu on a
site, and have that menu update on every page of the site automatically without
using frames or flash?
Right now I update a single flash nav file and I don't have to change each
page individually, but the problem is that search engines can't crawl flash
documents. Would PHP do the trick? How would I go about implementing this?
Thanks.
|
| ronsf replied to abisconti3 on 21 Jul 2004 |
I've been struggling with the same thing. What I have pretty much settled into
is putting the nav menu into a master template. When I make a change to the
navigation, I only need to change the template... but that will update all
files using that nav menu, so all those files have to be re-uploaded. My site
isn't terribly large, so this method has worked pretty well, though I'm still
looking for better options if any. -Ron
|
| John Gaver replied to abisconti3 on 20 Jul 2004 |
You might use a server-side Include. However, if you have pages in multiple
directories, you will need to keep the links site root relative.
Be sure not to include <html> or <body> tags in the include file.
John Gaver
Action America
(forget everything to contact me direct)
Microsoft: (n) Job security for IT consultants.
|
| abisconti3 replied to John Gaver on 21 Jul 2004 |
How do I use a server-side include?
|
|
Archived message: Best Way To Dynamically Update A Nav Bar? (Macromedia Dreamweaver Web Design)