Forum Moderators: open

Message Too Old, No Replies

How can I easily make menu changes for an entire website?

My pop-up menu was created in Fireworks 4

         

Lola2001

9:48 pm on Oct 6, 2002 (gmt 0)

10+ Year Member



I made a pop-up menu in Fireworks 4 and have put it on quite a few pages. I now have to revised it. Is there a way to revise the menu and have the changes automatically change all the pages? Pop up menu can be seen at <sorry, no URLs>. I have to modify the About menu on ALL pages and add sub-menus. It will take me forever if I have to do them one by one. Any suggestions on what I can do? Thanks.

[edited by: tedster at 9:56 pm (utc) on Oct. 6, 2002]

tedster

10:18 pm on Oct 6, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webmaster World, Lola2001

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.

Lola2001

10:34 pm on Oct 6, 2002 (gmt 0)

10+ Year Member



Thank you very much. I will look into your advice.