Recent Questions
Q: I have a javascript menu codes that I change dynamically with dm_ext_changeItem.
When I converted it to a popup window, dm_ext_changeItem does not seem to work. Is this a bug?
A: See in the popup menu you should write submenuInd+1:
dm_ext_changeItem (menuInd, submenuInd+1, itemInd, iParams)
Q: There's a 1 pixel white padding around the css drop down menu that I'm trying to remove.
Is it a padding setting -- a margin setting -- a div setting?
A: This is a shadow.
Set the following parameter:
var shadowTop=0;
Q: Thnx, it works now, just one more question :-)
I use frames on my website, the target frame name is main.
But when i put main as target in the simple javascript drop down menu, it loads as a new windows, do you know what i'm doing wrong?
A: You can set target parameter for all items:
var itemTarget="main";
Where main - is the name of the frame where you want to open the link.
or for each item individually:
["Home","testlink.html", "", "", "", "main", "", "", "", "", "", ],
Q: I'd like to purchase your deluxe menu, but for the life of me I cannot figure out how to align the javascript sub menu to the top of the primary menu in Firefox. It aligns correctly in IE but in Firefox it is dropping by 20 pixels or so below where I want it.
A: This is space to document borders. We've set this space, so that yourjavascript sub menu 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;