|
|
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:
- Sep 02, 2006 - Little vertical spacers between menu items in the drop down menu.
- Sep 06, 2006 - The Items of the javascript tree view stay expanded in the same state.
- Sep 06, 2006 - Can't see my javascript vertical tree menu in FireFox.
- Sep 16, 2006 - I need to be able to highlight the selected menu item of the html tree menu.
- Sep 26, 2006 - Why is the submenu has a different colour than menu items in the javascript menu bar?
- Oct 01, 2006 - All of the items in html pull down menu are different sizes.
- Oct 06, 2006 - Where I can find data.js file for tree javascript menu?
- 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).
- Oct 26, 2006 - I would like to load an iframe into one of the items in oncontextmenu.
- Oct 28, 2006 - Subitems of the mouseover menu don't close when the mouse goes away...
|