Recent Questions
Q: we want to be able to specify a certain height (or number of items) for the main menu after which a new column is created.
A: Unfortunately it is not possible to specify a number of items after which a new column is created.
But you can use blank items and create Individual Style for theseitems.
For example:
["| ","", "", "", "", "", "0", "", "", ], //empty item
["|Item 42","", "", "", "", "", "", "", "", ],
["| ","", "", "", "", "", "0", "", "", ], //empty item
["|Item 44","", "", "", "", "", "", "", "", ],
Q: Some menu entries may be disabled and clicking on them should produce predefined javascript alert message?
A: To create disabled items you should set "_" symbol in the targetparameter of the menuItems.
If the target is "_" the item is disabled.
You can assign a font color for all disabled items using the following menu parameter:
var fontColorDisabled = "#AAAAAA";
You can write a javascript code instead of an item link:
["item text", "javascript:alert('Hello World')", , , ,"_",]
That's all.
Q: I have the following problem. I've set target parameter to "_self".
But my html files still opens in a new window.
A: Please, check the following parameters:
var itemTarget="_self"; //default target
You can set target parameter for each item.
See menuItems parameter:
var menuItems =
[
["Home","testlink.html","icon.gif","iconover.gif","Home Tip",target,"1"],
["|Our Products","testlink.html","icon1.gif","icon2.gif","Our Products Tip","_self",,"0"],
];
Try that.
Q: If you take a look at the upper menu, I have "|" separating all of the various menu items. How can I do this with Deluxe Menu?
I don't want to resort to using messages and would like to use the "|" character if at all possible.
A: You can paste a separator.
Please, see the following parameters:
//------- Separators -------
//--- Separators
var separatorImage="";
var separatorWidth="5";
var separatorHeight="100%";
var separatorAlignment="right";
var separatorVImage="images/public/separator.gif";
var separatorVWidth="3";
var separatorVHeight="100%";
var separatorPadding="";
You should set a separator in the menuItems, for example:
var menuItems = [
["Home","index.cfm", , , , , , , , ],
["-"],
["About Us","about.cfm", , , , , , , , ],
];