PDA

View Full Version : Need a script to do this:


dlc22
07-08-03, 09:23 PM
Greetings,

I have a genealogy website (http://www.casey-genealogy.com) and I often add new pages. I have an "Index" at the bottom of each page with all the links to every page on my site, so that folks can just jump around. The problem is now I have so many pages, each time I add a new one, I have to go and change every page's "Index" at the bottom.

Is there a script or some such apparatus to just make a change ONCE and it will translate to an updated "INDEX" on all my pages? Is it possible to do this.

I know one solution is just to make a single page dedicated as an "INDEX" and instead of having links on all of my pages, just have one link back to the INDEX Page so users will be redirected there to navigate, and thus I'd only have to change this once.

THanks in advance, and please email me at dlcasey@go.com with any answer...

Preciate it.

darkcarnival
07-09-03, 09:56 AM
well what language do u want it in? if PHP you can sjmply make a file called nav or something and add your links in that then include the file.

dlc22
07-09-03, 12:06 PM
Actually, I think I found my answer after doing an extensive search. Basically I use plain old HTML and have found a way to use external .JS file text link with a javascript in each page pointing to a .js file on my server that will allow me to just change the .js file whenever my navigation menu changes...seems to work on my first experimentation.

Thanks for your reply nonetheless.

DLC

The URL is www.daxassist.com/javascripts/jstextlinks.php

Chris Boulton
07-09-03, 10:29 PM
If you have a programming backend avaliale to you, such as PHP, ASP etc you may want to look into setting up a Content Management System (CMS) to help you manage your site.

Basically, a CMS contains a backend which allows you to easily add news, new pages, polls etc anything else that you may want to do with your website. The front end is then generated dynamically out of this data and also creates page navigation systems.

There are various solutions in the database for all languages that do this.

Chris :)