Recent Questions
Q: I am using your product for a website. It seems that I am getting a Javascript error, particularly when accessing any of thedropdown menus. The details of this error message reference either"line 1" or "line 8".
Char= ...
Error= Object expected
Code=0
URL= (whatever page that I am on).
Please let me know what the issue is asap as my client is anxiousto go live with this and needs to be resolved!!!!!
A: You should check your dmWorkPath parameter. You should write itcorrectly.
You should also check that you copy all dmenu_xx.js files in the samefolder with dmenu.js file.
Please, set also the following parameter:
var itemBorderWidth="0";
This parameter cannot be empty.
Q: Is it possible to hide the plus signs so only the icon and the menu text show?
A: Yes, you can do it.
You should write so:
//------- Buttons -------
var texpandBtn = ["","",""];
var texpandBtnW = "";
var texpandBtnH = "";
var texpandBtnAlign = "left";
Q: I place all of my files in folders. If I want the Deluxe menu to work I have to have the Deluxe menu saved in each folder for it to work with the files inside those folders.
A: There is no need to copy al files for the menu in each folder.
To install the menu you can use such paths:
<script type="text/javascript"> var dmWorkPath = "../menudir/";</script>
<script type="text/javascript" src="../menudir/dmenu.js"></script>
You can use additional parameters to make menu paths absolute:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";
These parameters allow to make images and links paths absolute.
For example:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";
var menuItems = [
["text", "index.html", "icon1.gif", "icon2.gif"],
];
So, link path will be look so:
http://domain.com/pages/index.html
Images paths will be look so:
http://domain.com/images/icon1.gif
http://domain.com/images/icon2.gif
Please, try to use these parameters.
Q: I have a top horizontal menu with one level sub-menus.
I am using images for the rollover (on & off). I don’t need the generated text on the main menu, only on the submenus.
??? How do I eliminate the text and only have roll-overs?
A: You should delete item's text:
["","testlink.html", "image.gif", "imageo.gif", "", "", "", "", "", ],