Recent Questions
Q: With the new version, my body onload function is blocked.
In our application we do something with a body onload function.
It doesn't get called if I use the deluxe-menu. If I remove deluxe-menu js files from html, it works.
Is there a way I can use deluxe-menu and get my onload handler called?
A: Deluxe Menu detects any user's onload events and remember them in the case when you write a such events before dm_init(); call.
Try to delete onload event from <body> and write the following at theend of a page (after dm_init() call):
<script type="text/javascript"> onload = onloadHandler;</script>
That should work.
Q: I am setting a menu up for popupMode=1 and adding the javascript to respond to the onContextMenu action. When it pops up I am having to immediately move the mouse over the menu to keep it visible. Is there any way to keep the menu from doing this?
A: You can try to play with these parameters:
var smShowPause=200;
var smHidePause=1000;
Q: When I want to have the same width of each item I use the individuel styles sometime it works and sometime not
A: See, when you use Individual styles to set the width for your items
var bstyles = [
["bitemWidth=150px"],
];
you should check that you haven't set the exact width for the menu
var bmenuWidth="250px";
Please, check it.
Q: Using the new version with unmodified menus results in a new frame menu indentation (the left border of the first javascript folding menu entries submenu in a frame menu setup is not aligned with its main menu entry (both in IE 6 and FF 1.5 / Linux)) - possibly we might need to arrange something?
A: I suppose that this is space to document borders. We've set this space, so that yoursubmenus will not look like the part of browser window. If you wantyou can delete that space.
Open dmenu.js file in any text editor and find the following code:
space=15;
Change 15 to 0.
space=0;
Try that.