Log in

View Full Version : Hightlight Menu



MatileM
01-21-2011, 04:16 PM
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!

djr33
01-21-2011, 04:42 PM
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.