(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:
Fresh CSS Bootstrap Carousel Video Players and Nav Menu Demos 15 Recommended Website Makers Arranged by Level Of Popularity  |  36 Top Eye-catching and Free AMP Elements Templates for 2018  |  Mobile-friendly Page Maker  |  Responsive Website Maker  |  Responsive Site Theme  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. nl | website designing software | easy free website builder | bootstrap modal popup | easyhtml5video.com