Forum Moderators: open

Message Too Old, No Replies

Menu template for several pages

How to develop a menu template

         

jmoreira

2:23 pm on Nov 11, 2004 (gmt 0)

10+ Year Member



Folks,

I'm working on a website for a church. There's a menu on right side of the page. I was wondering what would be the best way to make a menu template for all pages so I dont have to update each page at a time. I want to be able to update one page and all other pages update along with it.
Thanks!

mcfly

2:28 pm on Nov 11, 2004 (gmt 0)

10+ Year Member



You can use a separate file as a common element of a page by writing the html for your menu, saving it as for example menu.html then inserting it into each page using Server-side Includes as follows:

<!--#include file="menu.html"-->