Recent QuestionsQ: The only remaining problem I see is that the dhtml popup menu appears in slightly
different positions depending upon where your mouse touches the icon.
Is there a way to make the menu position absolute in respect to the icon?
I have tried playing with the menu item parameters that seemed related with no success.
A: See dm_popup() function parameters:
return dm_popup(menuInd, pause, event, x, y)
menuInd - index of the menu on a page, >= 0.
pause - determines the time when the menu will be hidden.
event - constant. Do not change.
x, y - optional. Set these parameters if you want the menu to appear in the specified place.
In other case the menu will be shown in the mouse position.
I still get 'Error on page' when I hover over the first java scrolling menu item.
Please help! I need to buid this site out by Monday.
A: Now you have several errors in your data file:
You should write:
The following parameters cannot be empty:
It is not correct to write the java scrolling menu parameter in the following way:
You should write:
If you want to add borders in the subitems you should write:
And to remove border from the top items you should create Individualstyle and assign it to the top items:
var itemStyles = [
["","", "/images/nav_OFF_01.gif", "/images/nav_ON_01.gif", "", "","0", "", "", "", "", ], //assign style 0
["","", "/images/nav_OFF_02.gif", "/images/nav_ON_02.gif", "", "", "0", "", "", "", "", ], //assign style 0
Q: We create the menu code via ASP, and we need to have 2 menus on one page. Normally you do this by having 2 java scripts includes.
However it looks like the bottom menu activates the first menu?
A: Now you have two entries of dmenu.js file on your site in the tag.
You must have only one entry of dmenu.js file.
You should write so:
<!-- Deluxe Menu -->
<!-- (c) 2006, by Deluxe-Menu.com -->
Please, delete the same code from the tag.
Q: Can the Deluxe Menus be set to open by click and stay open when clicked for some time?
A: You can open Deluxe Menu on click. Set this parameter:
var showByClick = 0;          Show submenus on a mouse click only.
0 - disabled (default),   1 - enabled.
You can use such parameter in you menu:
var transDuration = 300;         - Delay of a transitional effect (in ms) on submenu's showing.