www.webdeveloper.com
Results 1 to 3 of 3

Thread: Virtual Includes Nav Menu

  1. #1
    Join Date
    Apr 2008
    Posts
    19

    Virtual Includes Nav Menu

    Hola,

    I'm using an includes file for my main Navigation. It's working great and all but if I do use an includes file, I can't show the button indication/highlight when you are on the corresponding page. Is there a way to just change an option on the html page to tell it to show the correct indicator?

    Here is the page:http://www.hawksontherocks.com/

    Hope that makes sense.

    Thanks in advance.
    Brian

  2. #2
    Join Date
    Mar 2006
    Location
    Newcastle NSW Australia
    Posts
    4,033
    If each menu item is given a unique id, and the body element of each page is also given a unique id, then the id's can be matched in the css to provide the correct style for that page :
    Code:
    #body_id #menu_id {styles for that match}

  3. #3
    Join Date
    Apr 2008
    Posts
    19

    Thank you

    Thank you - didn't think of that.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles