views:

343

answers:

1

I have seen a similar related post but my situation is a little different so I am posting a new question.

I am working on a site that was built by someone else. The navigation is an accordion style that works nicely but I need to be able to have the navigation remain open with the current active page highlighted. I am relatively new to jQuery and could you some help with:

  1. How do I keep the navigation open, and
  2. Highlight the active link - I know how to do this part in CSS, but I am not sure how to do that dynamically using jQuery.

Thanks in advance for any assistance.

A: 

I think this article might help you out http://www.packtpub.com/article/jquery-ui-accordion-widget-part2

Scroll down to the section "Fun with Accordion". He talks about using the navigation property and having the menu open and set for the page you are currently on.

T B
Hey TB, thanks for the link. It will take some adapting, but it is definitely going in the right direction. Thanks for your time.
fmz