Hi there. I have a menu which is toggle-able with jquery. By default it's hidden until the menu link is clicked. What I've been asked to do it make it so that when the user clicks it open it stays open from page to page. I'm assuming some sort of ajax would be needed to store a variable server side... but I have no idea how to really go about it.

this is my toggle function:


.panel is my menu, so when a user clicks on a link to a new page I want .panel to stay open on that new page.