(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    The Items of the javascript tree view stay expanded in the same state.

Return to Recent Questions


Q: Is there a way to have the menu stay expanded in the same exact state when
I click on a menu item of the javascript tree view and go to a new page?

A: There is no need to write additional code on a server side to remember what items were expanded/collapsed.
DHTML Tree Menu can save items state automatically.
Please, see the example of the menu that works with cookies:
http://dhtml-menu.com/tree-examples/tree-menuxp-save-state.html

Set the following parameter:

var tsaveState = 1;

and the 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

Best Website Builder for Digital Marketing Agencies, Travel Agencies, Interior Designs Website Builder for Beginners, Bloggers, Writers, IT Companies  |  Best Website Builder for podcasts and affiliate marketing  |  Best Website Builder for Education, Software Companies, Designers, Videos  |  Website Builder for Churches, Authors, Consultants, Magazines  |  Website Builder for Online Stores, Restaurants, Musicians, Real Estate  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. AI Website Builder | Best AI Website Builder | Free AI Website Generator | AI Website Generator | Website Generator AI