Recent Questions
Q: The menu has a problem with newlines. The menu builds correctly (layout ok) but when pressed on the button nothing happens 
 At some point, in the DHTML menu, we have the following in the javascript: 
   var menuitems = [ 
  ["|Print HTML","javascript:alert('HTML print: Only the 7 most recent orders on the screen \n will be printed because of space limitations on paper.');printResult('4'); ","","", ,"_parent",,] ] 
 As you can see we have a newline (\n) between the words "screen" and "will". But when we click on the button nothing happens. If we remove the newline and we click on the button then we first get the alert box. After pressing the OK button the function printResult is called. 
 Is there any way for us to still use the newline character in the menuItems variable? 
 This can be easily reproducible. That's why I haven't made an example.
 
A:  Try to write in the following way \\n:
 ["|Print HTML","javascript:alert('HTML print: Only the 7 most recent orders on the screen \\n will be printed because of space limitations on paper.');printResult('4'); ","","", ,"_parent",,]
Q: I see you have a right click in expanding menu javascript, is this function available in Deluxe Menu?
 
A: Unfortunately, you can't assign onmouseover/onClick/onContextMenu event to each item. 
 However, you can achieve this by using standard html objects within items, for example: 
   var menuitems = [ 
 ["<div onContextMenu='your_code_here'>item text</div>", ""] 
 ];
Q: The arrows on my cross browser javascript menu only show on the main page of my website (www.domain.com). I read the FAQs and the problem seems common and related to a path error. My path appears correct (to me anyway..lol) but it still doesn't work. 
A:  Try to use absolute path to your images. Set the following parameter:
  var pathPrefix_img="http://www.domain.com/";
Q: We currentlly have a menu that uses standard html hyperlinks to open a new window with _blank as the target. Unfortunately, the size of the window is controlled by the browser and we want to be able to control it. The only way that we know how to do that is to use the window.open client-side function and pass the window's dimensions. Here is a sample of the code that would do that: 
 window.open("url","_blank","height=1024,width=768,status=yes,toolbar=no,menubar=no,location=no"); 
 How can we add the javascript code to the dhtml menu vertical instead of a link? Do you have any samples?
A:  You can use javascript code within menuItems, for example
Write:
["Test Window","javascript:window.open('http://www.microsoft.com','_blank','height=1024,width=768,status=yes,toolbar=no,menubar=no,location=no');", , ,'Monitor Exceptions' , , '0', '0',,],