What I would like it to do (and where I think I may be misunderstanding the script as its not working for me), is as I select a link, it takes me to the next page which has the menu on it also, and that menu group still open. THEN when I go to another menu group and select a link, that group stays open.
Yep, that's what it should do. However, if page A and B on your site resides in two different directories within your site, then the persistence feature won't persist across these two pages. To change that, do the following:
1) Make sure the accordion menu on both pages are initialized to the same header class name, ie:
Code:
ddaccordion.init({
headerclass: "expandable", //Shared CSS class name of headers group that are expandable
2) Inside ddaccoridon.js, modify the below line by adding the code in red:
Code:
document.cookie = name + "=" + value + "; path=/"
Bookmarks