Recent Questions
Q: I am trying to update a website using a deluxe-menu, but I do not understand the instructions for inserting it into a framed site. I have everything working, and the menu is on the page. I just cannot figure out how to make the submenus appear in another frame.
The website makes it sound like I need to alter the data.js file, but I do not have any programs on my computer that will allow me to do so.
A: You can open your data.js file in any text editor and add such linedm_initFrame("frmSet", 0, 1, 0); instead of dm_init();
More info you can find here:
http://deluxe-menu.com/cross-frame-mode-sample.html
Q: I am curious why there are no font settings for "Individual Styles" for"Submenu styles".
Basically I want to have a different font and color for my submenu items so they appear differently than the normal primary Items - but it seems there is only two options for fonts:
- The global font parameters affecting all fonts (primary and sub).
- And the Individial Styles for primary Item Styles.
Why no font paramenters for Submenu Items?
A: You can assign Item Style for the submenu item too.
See the example:
var itemStyles = [
["fontStyle=normal 13px Comic Sans MS"], //item style 0
];
var menuStyles = [
];
["Product Info","", "default.files/icon1.gif", "default.files/icon1o.gif", , , "0", , , ], //item style 0
["||How To Setup","testlink.html", "default.files/icon6.gif", "default.files/icon6o.gif", , , "0", , , ], //item style 0
Q: Is it possible to designate a different font style, for thedrop down links then for the main link in the asp drop down menu?
A: Yes it is possible. It will be better for you to use another font style for your top itemsusing Individual styles.
And change font styles for your submenus using the following parameters:
var fontStyle=["bold 10px Tahoma","bold 10px Tahoma"];
var fontColor=["#FFFFFF","#A4DBCB"];
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.