Recent Questions
Q: I am trying to implement something with your wonderful product and have annoying problem that I am sure You are going to solve.
I am using 2 deluxe-menus on the same page.
The first one for showing some hierarchy of sites, and the second for showing pop-up right-click context menu (that clicked on some menu-item from the first deluxe-menu) .
The problem is that in case the user clicked on some sub-menu from the first css horizontal menu drop down, then all the sub menus disappear. I want them to stay.
I tried to give to the first deluxe-menu *smHideOnClick*=0 , but it doesn't help.
A: Try to set the following parameter:
var smHidePause=-1;Q: > Does you tree menu php support right-to-left layout? that is to say it opens thebranches/submenus from the right to left .
A: Yes it is possible to create a menu for right-to-left languages with Deluxe Tree in the same way as in standard htmlcode.
Please, set <HTML dir="rtl">.
You should set the following parameters:
var titemAlign="right";
var ticonAlign="right";
var texpandBtnAlign="right";
Deluxe Menu support right-to-left languages.
In Deluxe Menu you can set the following parameter:
var dmRTL = 1;
Set this parameter to 1 if you're using right-to-left direction of html page <HTML dir=rtl>.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 basedon that page?
A: You should set the following parameter
var ttoggleMode=1;
Deluxe Tree doesn't save a presseditem as it saves a tree state. It works within 1 page only and if youreload 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.
Q: How can I manage that the last clicked javascript expanding tree item stays tree highlighted?
A: We have the following API function to highlight the pressed item in Deluxe Tree
function dtreet_ext_setPressedItem (menuInd, itemID)
But unfortunately this function doesn't work for AJAX submenus.
We'll try to add this feature soon (using save state feature).