Link to external CSS menu

Discussion in 'HTML & Website Design' started by allpointer, Mar 19, 2008.

  1. #1
    I want to setup an external file with all the menu items that will appear on each web page. I don't want to use javascript, my pages can either be php or html. This will make editing menu items extremely easy. Also once linked to each page, I want to use tags to reflect the content on each page to help in SEO. What code is required to implement this?
     
    allpointer, Mar 19, 2008 IP
  2. SibTiger33

    SibTiger33 Peon

    Messages:
    203
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i dont have any experiene with php but with asp and asp.net you can use include files to include the menu sub page on any page
    <% include file = ' menu.asp' %>
    you would place this text anywhere near where you wanted your menu to be

    and in your menu page you would actually create your menu


    php will have a function similar to includes
     
    SibTiger33, Mar 19, 2008 IP