The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Menu bar hassle

Hi. I have a menu bar with several links on EACH and EVERY page of my 100 page web site. The menu, or navigation, bar is exactly same. The problem is, if I want to change the links on the menu bar, I have to go to every page and modify it. Is there a solution with out using frames? Maybe adding a JavaScript file into a table of the menu bar??

Server-side includes (via ASP, JSP, PHP or other server-side tools) You write the menu once, and it's included by the server as the page is sent out. This one is technically better, but it requires access to server-side tools.

Use an external javascript file to write the menu into the page on the client. See the second site in my .sig for a fairly simple example. This has the drawback that it requires javascript to work, and probably isn't wonderfully accessible, but it doesn't need server tools, which is great for people with really bare-bones web hosting.

another way is an iframe menu, which will work with javascript off, but this is better within a <noframe> to go with the javascript menu. Be careful though, the iframe menu usually ends up with a low PR