views:

513

answers:

1

I need to make an expandable menu that has multiple levels using jQuery. It also needs to remember the last state it was open to if you refresh the page or jump to a new page. I know there is the jQuery Cookies plugin but I'm not sure if the client wants cookies to be used. I found an example online but I can't figure out how to accommodate an unlimited amount of sub-levels (http://www.i-marco.nl/weblog/jquery-accordion-menu-redux2/). Since this is inside a CMS, I have no idea how deep this thing might go. Can anyone give me some advice on how they would do this?

A: 

I'd like to revisit this, can someone help me keep section state on a refresh in accordion? This would be very helpful for a project I'm working on.

jphenow