(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

    Is it possible that items in dynamic tree menu stay expanded in the same state?

Return to Recent Questions


Q: Is it possible that items in dynamic tree menu stay expanded in the same state when I click on a menu item of the dynamic tree menu 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 dynamic tree menu 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 dynamic tree menu 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:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. website builder software | bootstrap menu | bootstrap button | responsive slider | css menu