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

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

Return to Recent Questions


Q: Is it possible that items in javascript drop menu stay expanded in the same state when I click on a menu item of the javascript drop 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 javascript drop 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 javascript drop 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. top website builder | bootstrap popup window | free icon maker | Javascript Slideshow | responsive slider