Recent Questions
Q: I would like to know how to put the items for the popup menu on multiple lines (i.e. create a line feed), how do I tell my code to start a new menu item on the NEXT line?
A: There are 2 ways to do that:
1. set
var noWrap=0;
2. use
tags, for example:
var menuItems = [
["|Here is where <br> I would like
to have a line<br> feed",,"","", "", "", "", "", "", "", "",],
];
Q: I like “popup-mode-sample” but I could make it to work on my computer.
? Could you help?
A: If your menu doesn't work you should check paths to your dmenu.js file andto dmWorkPath parameter.
Q: How do I turn off transitional effects in dhtml popup menu?
A: You should set the following parameters:
var transition=-1;
var transOptions="";
var transDuration=0;
var transDuration2=0;
Q: How can I set the padding for the menu text at the top for the javascript select menu? I want more padding on the left of the text but I don't want it centered.
A: You can set bigger left padding for your Submenu Style, for example:
var menuStyles = [
["menuBackColor=transparent","menuBorderWidth=0","itemSpacing=1","itemPadding=0px 5px 0px 25px"],
];
itemPadding=0px 5px 0px 25px - top right bottom left