Contents Home Page Previous Page Next Page

Updating Links

If you have links to various sections of your site appearing on each page, here's a simple way to keep each page updated if you have to change the links without having to alter the page code, which would possibly necessitate the altering and re-uploading of hundreds of pages.

Firstly, add the code below to your pages where you want the links to appear:

Then create a text file named 'links.js' containing your links, which will look comething like this:

The result is this:

If you need to change the links, simply edit the links.js file as required.