Recent Questions
Q: I am having trouble changing a template of dhtml drop down menu code. I am using the
http://deluxe-menu.com/data-templates/image-based-1-template-sample.html,
and I want to add more items to the top menu, however when I add an item, it doesn't follow the format of the existing items.
A: See, we use Individual Item Styles for the top items in this template.
For, example select the "CONTACTS" item on the main window.
In the "Item Parameters" window you can see Individual Styles assignedfor this item:
Item Style - Style1
Icons / Normal - images/spacer.gif
When you add the new item you should assign Individual Styles for itand add icon in the same way.
That is all.
Q: Now I am coming across one more problem...
The alignment of the menu is off.
Where I can download previous versions of the menu?
A: I suppose that you're saying about submenu position.
Please, check the following parameters
var topDX=0;
var DX=0;
You can download trial package from the following links:
v1.12
http://deluxe-menu.com/deluxe-menu112setup.exe
v1.14
http://deluxe-menu.com/deluxe-menu114setup.exe
v1.71
http://deluxe-menu.com/deluxe-menu171setup.exe
Q: The problem with the old computer (by clicking an item the wrong subitem appears and the windows disappears not fast enough. I have tried your recommendation
var smShowPause=200;
var smHidePause=1000;
var transDuration=350;
var transDuration2=200;
A: Try to decrease these parameters, for example
var smShowPause=200;
var smHidePause=300;
Try that.
Q: Is there a way to highlight the selected item in the dhtml treemenu of the current page when the link target is _self?
Or pass in the selected item to the new page?
A: You can 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)