jQuery accordion menu - keep accordion menu open to the page I am on
- by MelissaTA
Hi everyone,
I hope you can help.
I'm very new to jQuery and am working on a five- or six-level accordion menu for my side navigation. I got the majority of the code I have so far from Dane Peterson @ daneomatic.com (thanks Dane!). But, I'm stuck on one thing:
I'd like to have my accordion/tree work like this:
When I navigate down into, say, level three, and click on the link to open the page linked to that level, how do I indicate once the level three page loads that I'm on that page?
Also, how do I keep the tree open to that level when I load the page?
I guess what I'm asking is: is there a way for the accordion/tree to automatically update to show what page you're at, and have the tree open to that level?
Thanks in advance!