| Recommend Us : Bookmark Us : Link To Us : Submit A Script Registered Members |
Creating a Navigation Menu in JavaScript: Step 3 Changing Your Pages
You'll have to decide yourself which method suits you best. If, of course, your site only has a few pages, and is likely to stay that way, then you can simply add the menu to every single page.
by Christopher S.L.Heng,
Trivial isn't it? However, changing your pages is not so trivial if your site has numerous pages. Worse, if you have the intention of including every page on your website in that menu, each time you add a new page, you have to go through all your pages to modify the menu. Sooner or later, the menu will cease to be a novelty.
I faced this problem when I decided to convert all of thefreecountry.com's approximately 150 pages to include a drop down menu. For those of you familiar with this site, you will probably know that I add new pages (with new articles or with other categories of free stuff) rather regularly. Not only would the conversion be a pain, the maintenance would be a nightmare.
To minimize your maintenance nightmare, you might want to consider a few options:
Copyright 2000 by Christopher S L Heng. All rights reserved.
Visit http://www.thefreecountry.com/ for more free articles, resources and tools for webmasters and software programmers.