menu component?

Discussion in 'HTML & Website Design' started by Vipergfx, May 13, 2009.

  1. #1
    What is the best way to code a menu into my site?

    I want 100 pages.
    So when I add link to footer or menu I want all pages to update.

    How do you do this with css?
     
    Vipergfx, May 13, 2009 IP
  2. diwebdesign uk

    diwebdesign uk Peon

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You should make a php file with just your menu in. Then use a php include() on each page to include the menu. Now if you make a change to your menu in your php file it will reflect on each page.
     
    diwebdesign uk, May 14, 2009 IP
  3. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #3
    I agree with diwebdesign uk, it makes updating very quick and easy.
     
    pipes, May 18, 2009 IP