Results 1 to 2 of 2

Thread: keeping same menu for whole site...

  1. #1
    Join Date
    Apr 2005
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default keeping same menu for whole site...

    Wondering if anyone can help a newbie!

    I want to use a generic menu for my whole site. How do I make each individual page reference it?

    I use images for the each link in the menu and I don't want to have to use the same code at the top of each page (giving the ilusion that it is the same menu) as this makes requires reloading the images each time you load a new page.

    So i'm after some code that says something like...

    "for menu see this file:"

    So it kind of references the one menu and needn't reload it.

    The fancy drop-down menus here:

    URL=http://www.dynamicdrive.com/dynamicindex1/index.html

    are nice but don't fit with the site...

    Thanks
    Ben

  2. #2
    Join Date
    Aug 2004
    Posts
    10,140
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    SSI (server side includes) is the easiest and most common solution. Check here for more info: http://www.javascriptkit.com/howto/externalhtml3.shtml

Bookmarks

Posting Permissions

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