Computing.Net > Forums > Web Development > menus as separate html files

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

menus as separate html files

Reply to Message Icon

Name: Deputy DooDah
Date: April 10, 2007 at 21:24:22 Pacific
OS: Linux
CPU/Ram: 3.0/1G
Product: Me
Comment:

I'm building a website that will have about 30 pages. It will have a menu on the side with quite a few items. When it comes to future updates, I'd like to be able to edit one menu file instead of 30 pages.

Therefore what I want to do, is make the menu a separate html page and have each web page load it into the area I've specified. Apparently this can be done by enabling SSI on the web server (which I've never messed with), but is there a better and/or simpler way?



Sponsored Link
Ads by Google

Response Number 1
Name: Fist (by fmwap)
Date: April 11, 2007 at 02:58:01 Pacific
Reply:

If the menu's on the side, then you could just use a frame. Then only 1 file is needed for navigational frame & no SSI is required.

PHP can also do this easily, just w/ a '<? include("menu.php"); ?> or similar.


0

Response Number 2
Name: Deputy DooDah
Date: April 11, 2007 at 09:08:48 Pacific
Reply:

Thank you.
The PHP thing sounds like a good solution. I'll search for how to do it.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Rate my site? div overlay help



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: menus as separate html files

HTML file not opening automatically www.computing.net/answers/webdevel/html-file-not-opening-automatically/2207.html

Mass html file renaming www.computing.net/answers/webdevel/mass-html-file-renaming/582.html

Can't open the HTML file! www.computing.net/answers/webdevel/cant-open-the-html-file/3149.html