|
Is it possible that items in down menu script stay expanded in the same state?
Return to Recent Questions
Q:
Is it possible that items in down menu script stay expanded in the same state when
I click on a menu item of the down menu script 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 down menu script 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 down menu script 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:
|