Recent Questions
Q: When I select something from one of the mouseover menus it takes me to a link on a website,
is it possible to run a javascript instead?
A: Actually you can use your own Javascript code instead standard links and html code inside item text.
For example:
var bmenuItems = [
["text", "javascript:your_code_here"]
];
or
var bmenuitems = [
["<div onClick='urlSubstitution(\'transco/sheet.asp?stype=1\')'>Table of Contents</div>", ""]
];
Q: How to include the search box in the navigation menubar?
A: Use the following javascript menu parameter to enable/disable the "search support" for the Deluxe menu:
var dmSearch=2;
0-nosearch; 1-ordinary search (within one level of submenus only); 2-recursive (within the whole menu).
Set item's link to "search:", for example:
["","search:value='search...' style='border:1px;width:60px;height:14;font-size:10px;'", "", ],
Q: We recently implemented your deluxe-menu on our site and are experiencing a few issues...
The java menu (slide-out portion) overlaps flash files on certain pages. In explorer, it seems to work fine, but in Safari, the java menu is hidden under the flash file. Is there anything you can think of that would be causing this... or anyway you know to fix it?
A: You should set the following parameter:
var dmObjectsCheck=0;
Please, add also dmenu_add.js file on your server.
I've checked your website.
The installation of the menu on your page is incorrect.
You have two entries of dmenu.js file on your site in the <head> tag.
You must have only one entry of dmenu.js file.
Please, delete the same code.
You should write so:
<head>
...
<!-- Deluxe Menu -->
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath="menu/"; </script>
<script type="text/javascript" language="JavaScript1.2" src="dmenu.js"></script>
<!-- (c) 2006, Deluxe-Menu.com, http://deluxe-menu.com -->
</head>
<body>
...
<script type="text/javascript" src="data-image-based-5b.js"></script>
...
</body>
Try that.
Q: I purchased your product yesterday and was quite impressed, but I am having a bit of a problem with my submenuitems.
In the general menu properties there is a "Global" var titemHeight = 22;
My problem is that I would like my upper level of my drop down menu to have one itemheight and my submenuitems to have a smaller height. Is this possible?
A: In the XP Style
var tXPStyle=1;
the item's height for the top items and submenus will be different.
If you want to use
var tXPStyle=0;
you can set ite's height for the submenus:
var titemHeight=16;
And for other items use the blank icon with the height you want to have for the upper level of your menu items.