Recent Questions
Q: Can we set the link of a java menu item to a javascript method?
 
A: You can use your own javascript functions in the menu items. 
You should paste "javascript:some_function()" into item's link field, for example: 
  var menuItems = [ 
["text", "javascript:your_function(...)", ...] 
]; 
  var menuItems = [ 
["item text", "javascript:alert('Hello World')", , , , ,] 
];
Q: How do I make the main nav links in the dhtml navigation align left (they are center aligned).
A: Try to use the following parameter:
   var itemAlignTop="left";
Q: How can I set the padding for the dhtml horizontal menu text at the top? 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
Q: How can we add a css horizontal dropdown menu separator? I’ve tried the following code but it only adds a menu item with the text “|-“ which is unselectable. 
 dm_ext_addItem(0, 1,  ["|-"])
A:  You should add separator without "|" symbol: 
 dm_ext_addItem(0, 1, ["-"], 1);