Results 1 to 2 of 2

Thread: Hightlight Menu

  1. #1
    Join Date
    Jan 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Hightlight Menu

    I am wanting to create a simple Vertical Menu that will highlight the page that you are on within the Menu. I like how the dynamic drive Menu is setup, so something similar to that would be great. Is there a script already posted on the site? Any ideas would be greatly appreciated. Thanks!

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    That is usually done using a serverside language like PHP. Check which page is being loaded and based on that highlight one of the items.
    Usually, the list is generated by looping through an array (a set) of links, and if the requested URI is a match, the highlighting code is added-- usually a special CSS class that refers to a brighter (or just different) color.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

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
  •