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


 

    Does the dynamic tree menu support anchors?

Return to Recent Questions


Q: I'm using the deluxe-tree; my dynamic tree menu is very long; and the page has a vertical scroll bar as a result. My question is, does the dynamic tree menu support anchors? So let's say I do mypage.aspx#mynode, and mynode is a tree-node, and happens to be on the bottom of the page, can we make it so that the user goes to that node, without him using the vertical scroll bar?

A: No, it is not possible.
But you can collapse your tree menu by default:
var texpanded=0;

and use API functions to expand the specific items based on the page you are now:

<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

Example:
http://deluxe-tree.com/highlight-selected-menu-item-sample.html







Return to Recent Questions

Related:
Website Builder for Churches, Authors, Consultants, Magazines Website Builder for Beginners, Bloggers, Writers, IT Companies  |  Best AI Website Builder - Create Website Design with AI  |  Website Builder for Online Stores, Restaurants, Musicians, Real Estate  |  Best Website Builder for Digital Marketing Agencies, Travel Agencies, Interior Designs  |  Best Website Builder for Education, Software Companies, Designers, Videos  | 
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 Builder | AI Website Maker | Website Generator AI | AI web design generator