Recent Questions
Q: Is it possible to open the dhtml tree to a particular state when a link is chosen from elsewhere in the site (not from a menu link)?
A: function dtreet_ext_expandItem (itemID, expand)
Expands/collapses a specified item or a submenu.
itemID - ID property of an item. expand - 0 - expand the item, 1 - show the item.
For example place to your HTML code
<script>
dtreet_ext_expandItem('dtree_0i2',0);
</script>
For details please see
http://deluxe-tree.com/functions-info.html
Q: Is there a parameter in Tree Menu I can add and/or adjust in data.js toforce the menu text to wrap and add here to a set menu width?
A: You should use
tags, for example:
var tmenuItems = [
["line 1
line 2"],
];
Width of the menu you can set so:
var tmenuWidth = "500px";
Try that.
Try to specify units in "px".
var tmenuWidth = "182px";
It's necessary to specify exact value for Mozilla browsers. It helpsto position menus correctly.
You should set this parameter:
var tmenuHeight = "auto";
Q: I have purchased a license for the Deluxe Tuner and I'm quite happy with the program.
However, I seem to have some trouble getting javascript menu js on the Net without the annoying "incorrect copyright" warning.
The warning does not appear on all computers I checked, and it only appears when I paste the code into HTML myself (in a table, since I want the javascript menu js to be in the relative vertical middle of thepage and I don't think I can do this in D.Tuner itself).
A: Now you have:
<noscript>
<a href="http://deluxe-menu.com">Javascript Tree Menu by Deluxe-Menu.com</a></noscript>
Try to write NOSCRIPT tag in he following way:
<noscript> <a href="http://deluxe-tree.com">Javascript Tree Menu by Deluxe-Menu.com</a></noscript>
Q: Is there a way I can do an include of a separate file that would contain the
var menuItems = [];
A: You can delete var menuItems = []; and dm_init(); from your data.jsfile and paste it into your html page or in the other file.
You should call at first data.js file with the parameters and thanmenuItems = []; and dm_init();.