Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Mar 2004
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    One Menu, Many Pages

    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?
    Last edited by Outshine; 03-01-2004 at 08:58 AM.

  • #2
    Senior Coder
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    1,963
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: One Menu, Many Pages

    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

    I take no responsibility for the above nonsense.


    Left Justified

  • #3
    New Coder
    Join Date
    Mar 2003
    Location
    Dublin, Ireland
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    For those that haven't got a host that supports php there's always server side includes (ssi).
    TopHostingDeals - The best place for the best deals!
    "It's nice to be important, but it's more important to be nice!"

  • #4
    Regular Coder
    Join Date
    May 2003
    Location
    Manassas, VA, USA
    Posts
    220
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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
    Get the best Web Design books called Visual QuickStart Guides at the Peachpit Press
    Ithium Web Hosting


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •