Shouldn�t the dhtml expand menu know what page you are on and expand accordingly?
Return to Recent Questions
Q:
Shouldn�t the dhtml expand menu know what page you are on and expand accordingly?
Or would you need to �hard code� each page to be expanded based
on that page?
A:
You should set the following parameter
var ttoggleMode=1;
Deluxe Tree doesn't save a pressed
item as it saves a tree state. It works within 1 page only and if you
reload the page you should set a pressed item using Javascript API:
function dtreet_ext_setPressedItem (menuInd, itemID)
Please, see here:
http://deluxe-tree.com/functions-info.html
You can also set
var tsaveState = 1;
More info you can find
http://deluxe-tree.com/data-samples/tree-menuxp-save-state.htm
To expand specific items you should use API function
function dtreet_ext_expandItem (itemID, expand)
Try that.
Return to Recent Questions
Related:
- Sep 04, 2006 - Set a menu item to pressed when a page is loaded.
- Sep 06, 2006 - The Items of the javascript tree view stay expanded in the same state.
- Sep 18, 2006 - Does the js menu work to load pages into an iframe?
- Sep 22, 2006 - Where do I add my "blahblah.htm" page links in js menu?
- Sep 26, 2006 - Is there a way to change the height of the main buttons in my simple dhtml menu.
- Sep 30, 2006 - The frame below the javascript menubar is moved to the bottom of the page.
- 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 27, 2006 - I'm trying to get a cascading menu that will float as I scroll down the page.
- Oct 27, 2006 - In IE 6.0 and Firefox 1.5.0.4, the submenus of my dhtml dropdown menu are not visible
- Oct 30, 2006 - I don't see on my website dhtml mouseover menu that I saw on my local machine.
|