View Full Version : how to highlight "current"

02-15-2011, 10:09 AM
1) Script Title: Glossy Accordion Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu-glossy.htm

3) Describe problem:
i'm using this script in the right sidebar in my site (http://www.cannabook.net).
it works well but i want to make it easier when navigating the site using the menu.
i want to add different background to tabs which are in "current" position.
what i mean is that if i click on one of the topics in the menu, i want the user to be able to see where he's at...

my english is not so well, i hope i explained it right :)


02-16-2011, 03:22 AM
It really depends on finding some way on your own of matching the current page with the sub menu that is supposed to be open, then either setting the "defaultexpanded" parameter of your menu, or calling one of the Accordion Menu expand/contract methods (http://www.dynamicdrive.com/dynamicindex17/ddaccordion_suppliment.htm), to expand that sub menu. Typically this means you have some server side code that reliably determines as each page loads which sub menu within Accordion Menu should be open, then taking advantage of one of the two aforementioned methods of the script to actually realize it.

02-16-2011, 06:11 AM
i think this one is way out of my league...
i didn't understand half of what you said so i guess i must give up on this one probably...
thank anyway :)