...

View Full Version : One Menu, Many Pages



Outshine
03-01-2004, 09:31 AM
Hello,

I have a site with a sidemenu and multiple pages (upwards of 40). The problem is, any time I want to change anything on the menu I have to go into all 40 files and update it. I don't want to use frames, but I know there is a way to just populate each page with one "menu" file. I've seen it done, but can't remember exactly how. I believe with the use of style sheets? Any help is greatly appreciated!

Luke

EDIT: I'm new to the site and wasn't aware at the wealth of information. A simple search found exactly what I was looking for.
Unless anyone knows a better way besides using PHP includes?

mindlessLemming
03-01-2004, 10:19 AM
Originally posted by Outshine

EDIT: I'm new to the site and wasn't aware at the wealth of information. A simple search found exactly what I was looking for.


If only every new member took that approach :)

Keith
03-01-2004, 11:20 AM
For those that haven't got a host that supports php there's always server side includes (ssi).

STDestiny
03-01-2004, 07:53 PM
Or at the very least, you could do it as a javascript include, but of course that would mean the user would have to have javascript enabled.

-Andrew



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum