Recent Questions
Q: I have a new poblem. The submenus of my dropdown menu php are going up instead of down.
A: You should set the following parameter:
var subMenuVAlign="top";
Q: The text on the dropdown menu item is not centered as it shows in the preview, How do I fix?
A: The reason is in your style
TD {
VERTICAL-ALIGN: top
}
Try not to define style for Table, TD, TR elements they can affect themenu.
Set also the following parameter:
var itemAlignTop="center";
Q: Can you tell me why these two simple dhtml tabs menus are conflicting and overwriting?
A: Notice, when you have several dhtml tabs menus on the one page you should calldtabs.js file only once.
<script type="text/javascript" src="Top_Center1.files/dtabs.js"></script>
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',,],