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


 

    Is there a way to expand items dynamically? Maybe have some code that would tell the sliding tree menu to expand on that particular page?

Return to Recent Questions


Q: I'm loving your product! It has definitely made my life easier.

I do have a question however. I know if I put a "+" in front of the title, the category will be expanded by default.
["+PRODUCTS","", "", "", "", "", "", "", "", ],

Is there a way to do that dynamically? Maybe have some code that would tell the sliding tree menu to expand on that particular page?

A: On your pages you should call the following function/functions to expand/highlight items, for example:

<script>
dtreet_ext_expandItem (dtreet_ext_getItemIDByIndex (0, 0), 1);
dtreet_ext_setPressedItem (0, dtreet_ext_getItemIDByIndex (0, 1));
</script>

See more info about API functions here:
http://www.deluxe-tree.com/functions-info.html





Return to Recent Questions

Related:
Bootstrap Header Example Bootstrap Radio Set  |  Bootstrap Sidebar Dropdown  |  Bootstrap Progress bar Jquery  |  Bootstrap Clearfix Style  |  Bootstrap Label Input  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Best AI Website Builder | AI Website Builder | Free AI Website Generator | AI Website Generator | AI website design generator