PDA

View Full Version : links from ddaccordion menu expanded headers



fassbinder
10-23-2010, 05:18 AM
1) Script Title: ddaccordion menu

2) Script URL (on DD): Accordion Menu script (http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu.htm)

3) Describe problem: active links from ddaccordion menu expanded headers

Hi all, I've been trying various methods to get this to work, but...
how can i have the expanded headers links be active once expanded... they work fine with revealtype: clickgo (they expand the menu item, AND go to an URL), but I'd like for the links to still go to an URL once clicked, even if the header is expanded... does this make sense? Please see the menu at http://jeffmorey.com to see what I mean... If you click on "Video projects" and then on one of the expanded items you are taken to a page relating to that item. If you then click on the "video projects" header again (while expanded) nothing happens... I want to treat the links from the headers to go to index pages (URLs) for each category, even if expanded, and not collapse

Many thanks for any tips!
cheers~ jeffm

ddadmin
10-23-2010, 10:56 PM
Sure, try the below modified .js file, which should do that.

fassbinder
10-24-2010, 01:12 AM
wow thank you so much it seems to work!
If it's not too much trouble, could you let me know what you changed on the .js? I could also go and study the modified file :)
thank you again!
jeffm~