Recent Questions
Q: How can I set the padding for the dhtml horizontal menu text at the top? I want more padding on the left of the text but I don't want it centered.
A: You can set bigger left padding for your Submenu Style, for example:
var menuStyles = [
["menuBackColor=transparent","menuBorderWidth=0","itemSpacing=1","itemPadding=0px 5px 0px 25px"],
];
itemPadding=0px 5px 0px 25px
top right bottom leftQ: I just noticed as well that I cannot change the spacing of the buttons.
Right now the buttons are tight together, how do I create a gap between each dhtmlmenu button?
A: You can paste the separator.
Please, see the following parameters:
//------- Separators -------
var separatorWidth = "10";
var separatorHeight = "20";
var separatorAlignment = "center";
var separatorImage = "C";
var separatorVWidth = "150";
var separatorVHeight = "10%";
var separatorVImage = "image.jpg";
You can create separators using menuItems, for example:
var menuItems = [
["item 1"],
["-"], // this item is separator
["item 2"],
];
You can also use this parameter:
var itemPadding = "4px";
You can also set multiple values, for example:
"2px 15px 5px 5px";
(top, right, bottom, left)
Q: I love this one:
http://deluxe-menu.com/data-templates/vista-style-03-template-sample.html Do you have vertical orientation of this java menu example, please?
A: To create vertical drop down menu you should set the followingparameter:
var isHorizontal=0;
Please, try the trial version. Use Deluxe Tuner to create your menu.You can find this template in the Templates window.
Q: I would like to purchase your menu system but I need to know if I can control disable property for the menu javascripts
A: You can try to use the following function:
function dm_ext_changeItemVisibility (menuInd, submenuInd, itemInd, visibility)
Shows/hides the item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0. See more info about indexes here.
visibility = true/false - visibility of the item.
More info you can find here:
http://deluxe-menu.com/functions-info.html