Recent Questions Javascript Async Treeview
Q: I am creating buttons for my web page and I can't find where I assign hyperlinks to the individual java menu items? Where is it located?
A: Create your java menu in Deluxe Tuner.
Add items and subitems using buttons "Add Item" and "Add Subitem" onthe main window. Select menu item and set parameters (item text, link,icons, tip, target...) on the "Item Parameters" window.See also other parameters for the menu on the main window.
More info about java menu parameters you can find on our site
http://deluxe-menu.com/parameters-info.html
http://deluxe-menu.com/menu-items-info.html
You can also use Individual Styles for items and subitems
http://deluxe-menu.com/individual-item-styles-info.html
http://deluxe-menu.com/individual-submenu-styles-info.html
Q: Ok I found the problem. When I make var floatable=0; dhtml flyout menu stays perfectly on the top as before but when I change it to var floatable=1; then it stays on top when the page loads but moves down when the page fully loads.
A: There are additional parameters for floatable feature in v3.2 now.
You can find them in Deluxe Tuner.
Try to write:
var floatableDX=0;
var floatableDY=0;
These parameters set minimal space for widow border.
Q: Also I have a problem getting the separator to show in my javascript right click menu. I have individual settings for the main menu items. I then tried to place an after item image, and they will show, though then the mouseover image does not work.
A: To add a separator you should
//--- Separators
var separatorImage=""; //for subitems (top items in vertical javascript right click menu)
var separatorWidth="100%";
var separatorHeight="3px";
var separatorAlignment="right";
var separatorVImage="separator.gif"; //for the top items (subitems items in vertical menu)
var separatorVWidth="100%";
var separatorVHeight="2px";
var separatorPadding="";
You can create separators using menuItems (you can do it in DeluxeTuner, use "Add separator" button), for example:
var menuItems = [
["item 1"],
["-"], // this item is separator
["item 2"],
];
Q: Can I choose what menus will be expanded or collapsed in the tree menu javascript when the user comes to the webpage for the first time?
A: You can expand some items by default.
Add '+' sign before items text in that case:
["+Javascript/DHTML Tree: XP Style","", "deluxe-tree.files/xpicon1_s.gif", "", "", "XP Title Tip", "", "0", "", "", ],
["|Home","testlink.htm", "deluxe-tree.files/icon1_s.gif", "deluxe-tree.files/icon1_so.gif", "", "Home Page Tip", "", "", "", "data-new.js", ],
"Javascript/DHTML Tree: XP Style" item will be expanded by default in that case.
Use var texpanded=1; parameter to expand all menu items by default.
Use function dtreet_ext_expandItem (itemID, expand) API function to expand the specific menu items dynamically:
http://deluxe-tree.com/functions-info.html