Forum Moderators: open
[edited by: tedster at 9:56 pm (utc) on Oct. 6, 2002]
Since your pages are already set up one way, you may have at least one "project" on your hands here. But you can change things so that future edits will be more painless. Here are several ideas - you can research them further with our Site Search function in the top menu.
1. Use Server Side Includes (SSI) for the menu. This allows you to maintain just one file with your menu code and have the server add it to any HTML page you choose every time it's sent. In addition to being conventient, SSI also helps your site to use less server space, because the menu code is not included in the stored version of your pages.
2. Use an external javascript file where the document.write() function performs a similar task as the SSI above. This will not work for visitors who have javascript turned off for some reason, but not every hosting arrangement allows for SSI -- or they may require you to use a .shtml extension, rather than .html. So, javascript is a good fallback option.
3. Use a global search and replace. Many text editors, and especially HTML editors, have this function. Using global replace across many pages is a little bit tricky, but it does allow you the luxury of customizing for various situations that may come up across your pages.
In fact, even for your current situation, a global replace function will lighten your work load a lot.