Recent Questions Tree Control
Q: We are having a bit of trouble with your menu, when you go down into a sub menu, and then back to the item that called it, the sub menu expands.
For example, if i have this menu structure
File
     New
     Save
     Exit
When i MouseOver New and then MouseOver File, the menu containing New, Save and Exit will grow. If i keep doing this then the menu will continue to expand horizontally.
I know its something we have done, since there doesn't seem to be a problem on your site, its just i don't know what it is
A: Rozi, we heard about such problems. I suppose that you see such effectin IE.
Please, try not to use shadow in the menu.
Please, set this parameter:
var shadowLen=0;
We'll correct this bug soon.
Try also write all units in "px", for example:
var itemPadding = "3px";
Q: We are using a licenced version of your tree-menu.
Now we have a situation, where we should show the actualclicked menu position with an icon or a color for a collapse tree menu.
A: This can be found with the help of external function of tree menu.
dtreet_ext_userClick(itID, event) - this function is called when clicking a mouse button on the item.
itID - item id
event - standard structure of events generated browser
dtreet_ext_getItemParams (menuInd, itemID) - returns all item parameters.
Please visit http://deluxe-tree.com/functions-info.html for addition information.Q: How do I get a second javascript popup window on the same page?
A: You should create another popup for the second link. Notice that you should use differentID's:
<a id="win2" href="javascript:;">
<img height="173" align="bottom" width="150" x-sas-useimageheight="" x-sas-useimagewidth="" src="gifs/vargas2.gif"/>
</a>
in Deluxe Tuner specify another parameters:
WinID = window2
(Use another winID than you have in your first data file if you don't want to
close 1-st popup window after you open the 2-nd one or use the same winID=win if you want to close 1-st popup.)
new url
onClick = win2
Save this popup (use another name, for example: popup2.html).
Q: I use the apy menu inside a table cell and it has 6 sub menus. The table width is 600 so I would like to have each sub menu with width 100 and each item with the same width. I use menuWidth=100 and itemWidth=100 but it doesn't work, each menu has a different size depending on the label.
Also, each sub menu label can fit in less than 100 but I really want the width to be 100 so it looks consistant across the full menu.
What am I doing wrong ?
A: You should use individual item styles. For example:
var itemStyles = [
["itemWidth=100px"],
];
["DHTML
Menus","", "", "", , , "0", , , , , ],
...
["Apycom
products","", "", "", , , "0", , , , , ],
...
["Contacts","http://www.apycom.com/contact.html", "", "", , , "0", , , , , ],
See the attached example.