PDA

View Full Version : Best Way To Implement a Menu



edytwinky
Mon 15th Dec '08, 9:19pm
I'm getting back into HTML Web Design and was wondering what's the best way to add a menu at the top of the page on individual pages?

I have the same menu, i'd like to incorporate but would like to change it every now and then and not have to edit each individual page one by one over and over and over

pod
Mon 22nd Dec '08, 8:57am
I do something like that with PHP; I have a centralized class that stores all the information about the site and I include it in every file. The class knows where in the site you are and shows the submenu of that section as well as links to other sections ;)

If you want it even more basic (just to include a static set of html code), you can also look at server side includes.