View Full Version : Accordion Menu: Need sub-level to have selected class

07-20-2009, 09:26 PM
1) Script Title: Accordion Menu script (v1.7.1), ddaccordion.js

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

3) Describe problem: Great script. Works like a charm. Want to extend the script so that the sub-menu level (in addition to the header level) 'knows' which option is selected. The objective is to somehow give the sub-menu level a selected class so that the selected menu option can be styled differently than the non-selected sub-menu options.

I am sure this is do-able, but am not a JavaScipt guru like some of the folks here ...

Any help greatly appreciated.