Recent Questions
Q: I am currently having a look at the use of your drop down menu and was wondering if there was an option to make all of the top menu links the same size?
At current It looks like it is on a percentage increase related to the amount of text, can I change this to a fixed value no matter the text amount?
A: You can use Individual Item Style.
Use that parameter:
var itemWidth=100px
Width of an item (px, % or other units).
For example:
var itemStyles = [
["itemWidth=150"], // style 0
];
var menuItems = [
["Home", "index.html", "myicon1.gif", "myicon2.gif", "Home Page Tip", "_self", "0"], // assign style 0
["About", "about.html", "myicon3.gif", "myicon4.gif", "About Us Tip", "_self", "0"], // assign style 0
];
Q: I have read your http://deluxe-tree.com/whats-new-info.html.
And really I do not understand this phrase:
- Item ID format has changed. It depends on the parent ID = [parent ID]i[item index].
Examples: for the first level dtree _0i0, dtree_0i1..., for the second level dtree_0i1i0,dtree_0i1i1, dtree_0i1i2...
Where do I fill in?
Do I have to rename my cascading menu titles?
A: Actually you shouldn't change anything.
This info is for the customers who use these indexes (dtree_0i1i2) only.Q: Is it possible to put an enter in a drop down menu item?
Like can I split Login newspaper to login (enter) newspaper
"Login
newspaper"
A: You can use any html code within menuItems.
Use
tag to wrap your text.
["login <br> newspaper","","","","","","",""]
Q: Would it work to put the javascript command in the dhtml context menu Link entry so that when a person clicks on the menu item, he navigates to the webpage specified in the onclick?
A: Actually you can use your own Javascript code instead standard links and html code inside item text. For example:
var tmenuItems = [
["text", "javascript:window.location.href=myvalue"]
];
or
var tmenuitems = [
["Table of Contents
", ""]
];