Recent Questions
Q: I try to fix the height of the submenu "Zone Climatiques" to 400px but I didn't find the way to do this. It worked by setting var smHeight=400px but that setting set all submenus. I would like set only the height of "Zone climatiques" submenu.
Thanks for your help.
A: You should create Individual Style
var menuStyles = [
["menuBackColor=transparent","menuBorderWidth=0","itemSpacing=1","itemPadding=0px 5px 0px 5px"],
["smHeight=400px"],
];
and assign it to the first item in submenu
["3101 - Ste-Anne-Des-Monts","ProcessClimaticZone/edit.do?id=3101,2003-11-13", , , , , ,"1","stationSubMenu.htm?climaticZoneId=3101,2003-11-13",],
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: In the navigation bar below (done in Spanish) I am trying to display the word “Niños” (Children) but looks like this special character is not displayed correctly. How I fix this?
A: Try to write it in the following way:“Niños”
Q: Hello. We need some tech support regarding our deluxe menu.
All of our pages that have the menu code on them are suddenly giving status bar errors that say: "Done, but with errors on page"
When pulling up the error details, the dialog says:
Line: 2
Char: 1
Error: Syntax error
Code: 0
On pages that do not have the menu at all, we're not getting the error.
A: Now you have such code:
<SCRIPT LANGUAGE="" type="text/javascript">
<!--
var dmWorkPath = "menu/";
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</SCRIPT>
So, your menu cannot find var dmWorkPath = "menu/"; parameter on yourpage.
Try to write your code in the following way:
<SCRIPT type="text/javascript"> var dmWorkPath = "menu/";</script>
<SCRIPT LANGUAGE="" type="text/javascript" src="menu/dmenu.js"></SCRIPT>
<!-- (c) 2006, http://deluxe-menu.com -->