views:

375

answers:

0

I am using this jQuery Accordion plugin to save the state of the menu using a hash (#) at the end of the URL for ever level that is expanded:

http://sandbox.unwrongest.com/jquery.accordion/

The only problem is that the back button doesn't work. I have tried to implement the jQuery history plugin but can't figure it out. I wouldn't even mind hard reloading the page for the hash to take effect, but window.load() did not work.

So my question is, using the menu above, how to I make the back button work with hashes at the end of URLs?