Recent Questions
Q: I want to use
function dtreet_ext_userRightClick(itemID) {
alert(itemID[0]); ???
return false;
}
But how do I refer to tmenuItems array using itemID in the javascript?
For example, if I want to pop a link text, should I use alert(itemID[0]))?
It doesn't work.
Please let me know how I refer to the menu.
A: You should use the following function to get item's info:
dtreet_ext_getItemParams (0, itemID);
For example:
<script type="text/javascript">
function dtreet_ext_userRightClick(itemID)
{ var link = [];
link = dtreet_ext_getItemParams (0, itemID);
//Returns item parameters in the array:
// [item_id, index_within_submenu, parentID, level, has_child, child_count, expanded, text, link, target, tip, align, icons, hidden, disabled, visible]
alert(link[7]);
return false;
}
</script>
Q: I am still struggling with multiple menus on one page.
It is probably something I am doing wrong, but I cannot see it.
A: Now you have:
var absolutePos=1;
var posX="10";
var posY="10";
So, both of your menus have the same absolute position.
You can use relative position and place your menu inside <table>. In this case you should write so:
var absolutePos=0;
Q: I am the trial version user of Taiwan.
And I would like to purchase the product "Deluxe Menu & DeluxeTree & Deluxe Tabs Developer License with JavaScript Sources" , but there is a question before I purchase.
Is there any extra charges for the version of Deluxe Menu getting upgrade in the future?
for example, v2.4 to v.3.6 ...... and so on.
A: All minor upgrades you'll get for free (for example, 2.4->2.7).
All major upgrades you'll get for free during 1 year (for example, 2.4->3.0).
For example, if there's some major upgrades (1.7 -> 2.0 -> 4.0)you'll get them for free during one year.
But if there'll be no major upgrades during some period (2.72 -> 2.81 -> 2.92). And after 3 year, for example, there will be major upgrade to 3.0. So you can upgrade for free.
We can offer you some discount for the major upgrade after one year.
Q: It's been couple of months since I last time asked something about tree menu. I am still evaluating the software.
I have a short question. Is it possible to use CSS instead of JavaScript to tune the look and feel of the tree menu? For example I would be interested in giving menu css java item height value in relative numbers (em or %) rather than specifying a size in pixels...
A: But actually you can use 'em' and '%' units in Deluxe Tree, forexample.
var tmenuWidth="13em";
var tmenuHeight="12em";
var tmenuWidth="35%";
var tmenuHeight="15em";