Recent Questions
Q: How do I make the submenus sticky i.e. they will not close even when the mouse goes to somewhere else on the page?
A: I've checked your menu in all browsers. I can't see such problem.
You can try to adjust these parameters:
var transDuration=200; // Delay of a transitional effect (in ms) on submenu's showing.
var transDuration2=100; // Delay of a transitional effect (in ms) on submenu's hiding.
Q: In Internet Explorer 7 , the menu with javascript was completely invinsible.
A: Try to set exact width for the menu, for example:
var menuWidth="500px";
Q: I am using javascript dropdown menu - Deluxe Menu 2.0 and have some problem with the doctype declaration.
Is there any need to classify a certain doctype in order to get the menu working correctly?
If we use the XML declaration (like this: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">)
the padding and margin settings of the submenus get lost.
Are there any known solution to fix this?
A: Yes, it happens if you don't specify units in "px" for some dropdown menu parameters.
Please, try to write so:
var itemPadding="2px";
Q: Is there a way to hide a menu options in the navigation menu using either CSS or the java api based on the site user?
A: Deluxe Menu supports Javascript API.
You can find more info here:
http://deluxe-menu.com/dynamic-functions-sample.html
You can try to use API functions in that case:
function dm_ext_changeItemVisibility (menuInd, submenuInd, itemInd, visibility)
To disable items you should set the target parameter to "_".
You can try to use the following function
function disable() {
dm_ext_changeItem(0, 1, 1, ["", "", "", "", "", "_"]);
}
to disable your items.