(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:
Free and Easy Website Builder Offline Mobile Website Builder Software  |  40+ Free Bootstrap Templates 2018  |  Best 18 Landing Page Bootstrap Theme Roundup  |  Bootstrap Table Template  |  Top Mindblowing HTML Image Slideshow Ideas  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. mobirise | best website design software | bootstrap navbar template | css menu | bootstrap image slider