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


 

    Shouldn�t the dhtml expand menu know what page you are on and expand accordingly?

Return to Recent Questions


Q: Shouldn�t the dhtml expand menu know what page you are on and expand accordingly?
Or would you need to �hard code� each page to be expanded based on that page?

A: You should set the following parameter
var ttoggleMode=1;

Deluxe Tree doesn't save a pressed item as it saves a tree state. It works within 1 page only and if you reload the page you should set a pressed item using Javascript API:

function dtreet_ext_setPressedItem (menuInd, itemID)

Please, see here:
http://deluxe-tree.com/functions-info.html

You can also set
var tsaveState = 1;

More info you can find
http://deluxe-tree.com/data-samples/tree-menuxp-save-state.htm

To expand specific items you should use API function
function dtreet_ext_expandItem (itemID, expand)

Try that.



Return to Recent Questions

Related:
Top Mindblowing HTML Image Slideshow Ideas Free and Easy Website Builder  |  Offline Mobile Website Builder Software  |  Bootstrap Table Template  |  Bootstrap Alert Colors  |  Best 18 Landing Page Bootstrap Theme Roundup  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Free AI Website Builder | Free AI Website Builder | AI Website Generator | AI Website Maker | AI web design generator