Recent Questions
Q: I have created aKaspersky menu, but the links don't work.
A: See, you can use links if you have
var tabMode=1;
only.
If you have
var tabMode=0;
You should use the ID of the DIV.
But you can try to open your pages using different targets in thefollowing way
["tab text", "javascript: window.open('test.html', 'frameName')", ...],
["tab text", "javascript: window.open('test.html', '_self')", ...],
["tab text", "javascript: window.open('test.html', '_blank')", ...],
Where frameName - the name of the frame where to open the page test.html.
Using this method you can create Deluxe Tabs in var tabMode=0; and var tabMode=1;
Q: I'm interested in using DHTMLMenu in web applications I develop and have some questions about licensing.
My company develops web applications that act as front ends for clients' legacy mainframe programs. DHTML Menu would be of great benefit in adding navigation functionality to these applications. Each application is custom-developed for each client, so we don't have a pre-packaged product in which the menu would be used. Would the Developer License meet our needs for this sort of development?
Also, a small minority of our clients develop and distribute applications themselves based on the applications that we develop for them. Does the Developer License support transferable redistribution? If not, how much would a license that permitted this cost?
Thank you for your time and I look forward to hearing from you.
A: Yes, Developer License will suit you.
You can use it within your applications and distribute them.
Q: When I use API like <script>dm_ext_deleteItem(0, 0, 0);</script> it works fine in my first dhtml drop down menu code (menu.js) but I'm unable to reach second one (menu_gauche.js). I’ve tried this : <script>dm_ext_deleteItem(1, 0, 0);</script> and the page came’s out with a JavaScript error on that line. I’ve read on your side about dm_ext_deleteItem api and the first parameter is for menu Id … If there anything that I have forgot ??
A: You cannot use the following function for the tree menu:
dm_ext_deleteItem(1, 0, 0);
There is no such function there:
You should use
dtreet_ext_deleteItem (0, 0)
for the tree menu, see more info:
http://deluxe-tree.com/functions-info.html
You should set menuInd=0 if you have only one dhtml drop down menu code on your page.
Q: I need to set individual itemtargets for a number of items in the navigation bar menu...
A: You can set target parameter for all items:
var itemTarget="_blank";
or
var itemTarget="main";
where main - is the name of the main frame where you want to open the link
or for each item individually:
["Home","testlink.html", "", "", "", "_blank", "", "", "", "", "", ],
...
["Home","testlink.html", "", "", "", "main", "", "", "", "", "", ],