VonGizzle
31 Jul 2007, 08:40 PM
Ok here's my riddle.
I would usually use a simple include for the navigation element of my pages, but if I wanted to highlight the subsection on any navigation area the user was currently browsing, I would then have to create a different navigation menu for every page and manually highlight the current section on the menu.
Because I'm a javascript loser, and I'm assuming this would be the most efficient way to do this, I'm wondering if any of you know of a nice clean tight way to dynamically highlight the current page on a nav menu (whether it's image buttons or css based) which could be then written once and included.
regards,
James Boyce
I would usually use a simple include for the navigation element of my pages, but if I wanted to highlight the subsection on any navigation area the user was currently browsing, I would then have to create a different navigation menu for every page and manually highlight the current section on the menu.
Because I'm a javascript loser, and I'm assuming this would be the most efficient way to do this, I'm wondering if any of you know of a nice clean tight way to dynamically highlight the current page on a nav menu (whether it's image buttons or css based) which could be then written once and included.
regards,
James Boyce