Recent Questions
Q: Is there any way to call a javascript function on mouseover from a menu item?
A: You can use your own javascript functions in the menu items.
You should paste "javascript:some_function()" into item's link field, for example:
var menuItems = [
["text", "javascript:your_function(...)", ...]
];
var menuItems = [
["item text", "javascript:alert('Hello World')", , , , ,]
];
Unfortunately, you can't assign onmouseover/onClick event to each item. However, you can achieve this by using standard html objects within items, for example:
var menuitems = [
["<div onMouseover='your_code_here'>item text</div>", "index.html"]
];
Q: I am testing the menu under the 2nd URL however I am just receiving a blank page Why would the menu be totally blank ...not even incorrect key or trial version warnings. Does Deluxe menu need ASP installed on the server.
A: You should call dmWorkPath parameter before you call dmenu.js file.
Check also that this parameter point to the same directory withdmenu.js file. So, you should install the menu in the following way:
<noscript><a href=http://deluxe-menu.com/>JavaScript Menu by Deluxe-Menu.com</a> </noscript>
<script type="text/javascript"> var dmWorkPath = "/";</script>
<script type="text/javascript" language="JavaScript1.2" src="dmenu.js"></script>
Check it.
Q: Do you support keyboard shortcuts (up/down through javascript for drop down menu)? I couldn't find an example of that.
Also, this one from OpenCube (exploding submenus) runs on Firefox too. No way to get that in yours?
A: No, Deluxe Menu doesn't support transitional effect in Firefox. Thereis no way to do it in the current version of the menu. It is possiblethat we'll add this feature in the next versions.
Deluxe Menu has keyboard support. You can check it on our website
http://deluxe-menu.com/
Press Ctrl+F2 to enter/switch to next menu on the page.
Arrow keys - navigate
Esc - exit the menu
Use the following parameter to enable keystrokes support:
var keystrokes = 1;
0 - disabled (default), 1 - enabled.
Use also the following parameters:
var dm_focus = 1; Show focus selection for selected item.
var dm_actKey = 113; Key code for keystrokes activation.
Works with Ctrl key only.
Default value is 113 = F2 key, 114 = F3 key, 115 = F4 key, etc.
Q: My names Erick and I'm using your Delux Menu and wold like to know how to change the dhtml hover menu back ground color from the teal color to a gray and am not having any luck locating this option. Please advise.
A: Try to use the following dhtml hover menu parameters:
var menuBackColor="#C0C0C0";
var itemBackColor=["#C0C0C0","#65BDDC"];
You can also check Individual Styles. It is possible that you setbackground color there.