(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:
Mobile-friendly Web Page Themes Review Bootstrap Site Themes Review  |  Top 53 Killer HTML Templates List  |  Mobile Page Layouts Overview  |  Top 41 Wonderful CSS3 Templates Collection  |  Best 50 Inspirational and Beautiful HTML Themes Collection  | 
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 | AI Website Maker | Free AI Website Generator | Website Generator AI | AI website design generator