|
|
Can I choose what dhtml tree menus will be expanded or collapsed when the user first comes to the webpage for the first time?
Return to Recent Questions
Q:
I am now running the newest version, all ok. A new client wants to have submenus open
For the left hand menu navigation that I purchased, can I choose what dhtml tree menus
will be expanded or collapsed when the user first comes to the webpage for
the first time?
For instance, right now, when the user first goes to the page ALL of the
menus are collapsed. If I wanted the first and third tree menus to be
expanded and the others to stay collapsed when a new user first went to the
page, how would I accomplish that?
Thank you very much for your help. on mouse rollover as well as on mouse click. Is this possible with tree menu in XP style?
A:
You can expand some items by default.
Add '+' sign before items text in that case:
["+Deluxe Tree: XP Style","", "deluxe-tree.files/xpicon1_s.gif", "", "", "XP Title Tip", "", "0", "", "", ],
["|Home","testlink.htm", "deluxe-tree.files/icon1_s.gif", "deluxe-tree.files/icon1_so.gif", "", "Home Page Tip", "", "", "", "data-new.js", ],
"Deluxe Tree: XP Style" item will be expanded by default in that case.
Use var texpanded=1; parameter to expand all menu items by default.
Use function dtreet_ext_expandItem (itemID, expand) API function to expand the specific
menu items dynamically:
http://deluxe-tree.com/functions-info.html
Return to Recent Questions
Related:
- Sep 06, 2006 - The Items of the javascript tree view stay expanded in the same state.
- Sep 17, 2006 - How can your javascript onmouseover menu be set to open by click?
- Oct 15, 2006 - Submenus doesn't position correctly in my javascript template.
- Oct 20, 2006 - I want that tree menus expanded or collapsed and go to the link...
- Oct 27, 2006 - In IE 6.0 and Firefox 1.5.0.4, the submenus of my dhtml dropdown menu are not visible
- Nov 13, 2006 - Can I use Hebrew in the script menu easily?
- Nov 23, 2006 - It is possible to have context menu work with your tree menu dhtml?
- Dec 01, 2006 - Why flyout menu does not float and why I cannot centre the menu?
- Dec 19, 2006 - Why submenu css pop-down not OVER the other object (frame)?
- Jan 05, 2007 - In Delux Tuner I can not find how to make menus multi-level or multi-column
- Jan 22, 2007 - The Norwegian characters are not showed in the javascript menu drop down correctly.
|