Recent Questions Dynamic Tree Javascript
Q: Is there a javascript API for the expandable menu tree to fire an user click event so the browser will load proper page accordingly? I looked around the current APIs from your site and could not find one.
Please advise.
A: You can use dtreet_ext_userClick (itemID) function.
See more info:
http://deluxe-tree.com/functions-info.html
Actually you can use your own Javascript code instead standard links and html code inside item text. For example:
var tmenuItems = [
["text", "javascript:your_code_here"]
];
or
var tmenuitems = [
["<div onClick='urlSubstitution(\'transco/sheet.asp?stype=1\')'>Table of Contents</div>", ""]
];
Q: Does your Tree support right to left languages, like Hebrew? It's is very important for us.
I tried it but the text of the items are left justify.
A: You can use right-to-left languages in the Tree Menu in the same way as in standard htmlcode.
Please, set <HTML dir="rtl">.
Try to set the following parameter:
var titemAlign = "right";
Q: I purchased the right to use deluxe-menu because I liked how it worked versus my old menu which is your competitor (milonic menu) in the javascript driven menu market.
However, after using your menu for a few months, I have discovered a problem. When I bought the menu, the claim was made it worked with all doctypes. I use "strict" on my web site and want my pages to validate as strict with W3C or WDG validators.
I get a notice of incorrect copyright when I remove the link to yoursite in the heading of the document. Since this line does not validate,I feel that you should provide an adequate alternative to having a unsubstantiated line in your html code. I have looked over the FAQ on your site and have found no remedy. You have a wonderful product and I wish to continue to use your menu. But this one little bugaboo surely can be fixed on your end by altering the requirement to keep the incorrect copyright from appearing even though it shouldn't appear in my opinion.
For instance, I can alter the line and make the link invisible.
Example: <noscript><a href="http://deluxe-menu.com"></a></noscript>
By making the link invisible with no text, it will mean nobody would see the blatant ad for your site. The incorrect copyright notice does not appear under those circumstances, however it still does not validate.
I just want to create web pages that validate! Please help me as a struggling web author to achieve my goal and still use your menu which I paid for! Thanks for any help you can give me.
I love my deluxe-menu! Please help to keep using it.
A: Thanks for your interest in our products.
Try to move <noscript> tag into the <body> tag.
Q: I have an other question about Vista menus :
If the word is too long, the dhtml menu images are not correct.
Please look at the screenshot.
A: See images in Vista Templates have the fixed width and height (92 x 21).
You can try to use the following parameter to use combinedbackground for your items, for example:
var beforeItemImage = [,]; //left-side image for normal and mouse over state
var itemBackImage = [,]; //background or image for normal and mouse over state
var afterItemImage = [,]; //right-side image for normal and mouse over state
var beforeItemImageW = '';
var afterItemImageW = '';
var beforeItemImageH = '';
var afterItemImageH ='';
But you should create a small images in any Graph Editor, for example:
button_n_back.gif
button_n_left.gif
button_n_right.gif
button_o_back.gif
button_o_left.gif
button_o_right.gif