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

    Is it possible that items in dropdown menu javascript stay expanded in the same state?

Return to Recent Questions


Q: Is it possible that items in dropdown menu javascript stay expanded in the same state when I click on a menu item of the dropdown menu javascript 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 dropdown menu javascript 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 dropdown menu javascript 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. creer un site mobile | website maker | easy website builder | top free website builder | responsive slider