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:
- Sep 06, 2006 - Can't see my javascript vertical tree menu in FireFox.
- Sep 15, 2006 - Are vertical menus also supported? I don't see any in the javascript menu examples.
- Sep 16, 2006 - I need to be able to highlight the selected menu item of the html tree menu.
- Sep 24, 2006 - If there is a way of establishing the width at "runtime" in the javascript dynamic menu?
- Sep 26, 2006 - Firefox doesn't support the dropshadow and effects in the javascript pull down menu.
- Oct 06, 2006 - Where I can find data.js file for tree javascript menu?
- Oct 20, 2006 - Can you let me know, if javascript moving menu supports search engine friendly code?
- Oct 20, 2006 - I want that tree menus expanded or collapsed and go to the link...
- Oct 21, 2006 - It appears that this javascript expand menu only supports IE (on the PC and Mac).
- Nov 10, 2006 - I can't make my vertical dynamic menu work in at Dreaweaver template - why?!
- Nov 23, 2006 - It is possible to have context menu work with your tree menu dhtml?
|