I am trying to create a vertical navigation bar that has 5 large main categories and then up to 15 sub pages underneath. I want the 5 large main categories to autocollapse but also when someone navigates to a sub-page it highlights that particular nav button and also keeps that menu group expanded. I like things neat and tidy but also like the web visitor to know where they are at all times.
I tried a pure collapsable panel with hotlinked graphic buttons. But, I cannot achieve the auto open when at a sub page. (maybe if I bail on template mode?) Then I tried to place a Spry nav within the sub collapsable panel but again that does not achieve my goals.
As far i understand you want the last opened panel to be open on other pages that the user might go to..
What you could use is cookies to save the last used state example: go.spry-it.com/cookie