|
Is it possible that items in menu vertical stay expanded in the same state?
Return to Recent Questions
Q:
Is it possible that items in menu vertical stay expanded in the same state when
I click on a menu item of the menu vertical and go to a new page?
A:
DHTML Tree Menu can save items state automatically.
There is no need to write additional code on a server to remember what items were expanded/collapsed.
See the example of the menu vertical that works with cookies:
http://dhtml-menu.com/tree-examples/tree-menuxp-save-state.html
You should set the following parameter:
var tsaveState = 1;
and the menu vertical remembers its structure for each user who visit your page.
Try to expand/collapse items. Then reload the page and you'll see results.
Return to Recent Questions
Related:
|