I'm pretty new to web desiging. When I add a new page to my website I have to go into every page and add the new page to the menu bar. I know there is a way around this. Can someone please help? Thanks, Jen
You need to place your menu bar either in an iframe or use server-side includes (SSI). Depending on site/menu design, iframes may not be suitable.
SSI is implemented by placing a special comment in the html. The server scans the page and inserts the required data (in your case, another file) each time the page is requested.
Typically SSI is enabled by using the filename extension .shtml however changing the file name may cause problems with search engines and backlinks. It can be enabled by editing the .htaccess file but that's another story.
<!--#include virtual="/menu.htm" -->
In the example above, menu.htm should be simply an html fragment (no <body> or <head> tags, etc.)
There's yet another way to do this without SSI... although it follows along the same line as SSI.
I once purchased some html templates from a company named allwebco and they did all their menus that way. It was very quick and convienient to make menu changes in one place and have all the pages updated. ...not to mention I didn't have to set up SSI.
Now that I know how to use SSI, I stopped using the java method. If your hosting provider does not do SSI you might consider the java alternative.
SSI is quite easy to do. PHP also offers a similar functionality, but with lots more power in building dynamic content.