Trouble getting Accordion to work properly with nested directories
| Project: | Accordion Content/ Menu script |
| Version: | 1.3 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Hi I am a javascript newbie and am having trouble getting the Accordion menu to work properly with the website I am creating that has many nested directories. The menu works great when all the pages are in the same level folder but when the pages are in separate folders (for each section) when a page in a different section from the current one is selected the menu expands the section that was previously open – it thinks that the previously selected section (header) has been selected even though another section (header) has been chosen. I am hoping there is a way to get around this. At present the navigation works off relative links in the php (<?=$rel_path?>). Is there a way to specify that in the Accordion script (ddaccordion.js)? Thanks for any help you can give.
