Recent Questions
Q: I've just updated my menu from 2.4 to 3.2. All is fine except two of my java script pop up menu (vertical) appear on the left instead of the right, all the others pop out to the right as before. I've tried saving it as a completely different file name, same problem, both within a browser and within your preview pane.
Any help would be much appreciated, I'm at a loss.
A: You can try to change the following parameter:
var subMenuAlign="left";
You can also send us a direct link to your website, so we can check it.
Q: Is it possible, for instance, to call dm_init multiple times in the list menu java? If so, do you have an example?
A: Yes, you can call dm_init(); function multiple times (for example youcan call several data files, or move menuItems array and dm_init();function into your page directly) to have multiple menus on your page.
Q: I think that your product is great makes everything look nice and professional with the drop down menu Items. My question is I have certain menu Items that I will need to disable at certain times. I do this now using a standard button and grabbing my parameters from an SQL database. Is there a way for me to basically pull which menu items I need disabled and present the customized menu for each client. I have read that your product has this ability I was looking for a little guidance or maybee a write up on someone that has done this.
A: Unfortunately, Deluxe Menu doesn't have such a feature.
You should write your own code, for example, on PHP.
You can try to use the following function
function disable() {
dm_ext_changeItem(1, 1, 1, ["", "", "", "", "", "_"]);
}
to disable your items.
The example you can find on our site
http://www.deluxe-menu.com/dynamic-functions-sample.html
Please, see the source code on this page.
Q: I am evaluating your product and would like to display my top menu without a border, but have the dropdown (child menus) all have a border and shadow.
If I change the menuBorderWidth to anything but 0, I get a menu on both the top menus and dropdowns. I need a topBorderWidth and a childBorderWidth.
Is there any way to accomplish this?
A: Yes, you can do it.
Please, set:
var menuBorderWidth=0;
To set border for submenus you should use Individual Submenu styles, for example:
var menuStyles = [
     ["menuBorderWidth=1","menuBorderColor=#9A9CA7"], //style 0
];
var menuItems = [
     ["Home","testlink.html", , , , , , , , ],
     ["Product Info","", "default.files/icon1.gif", "default.files/icon1o.gif", , , , , , ],
         ["|Features","testlink.html", "default.files/icon2.gif", "default.files/icon2o.gif", , , , "0", , ], //style 0
     ["Samples","", "default.files/icon1.gif", "default.files/icon1o.gif", , , , , , ],
         ["|Sample 1","testlink.html", "default.files/icon6.gif", "default.files/icon6o.gif", , , , "0", , ], //style 0
         ["|Sample 2 is Disabled","testlink.html", "default.files/icon6.gif", "default.files/icon6o.gif", , "_", , "-1", , ],
...
You should assign style for the first item in the submenu.