Recent Questions
Q: Can youtell me which transition is the regular traditional transition with no effects for the dhtml navigation?
A: You can use
var transition=0;
if you don't want to use transition you should set:
var transition=0;
var transOptions="";
var transDuration=0;
var transDuration2=0;
Q: How can I keep the items in dhtml css menu from opening into a new window when selected?
A: You can set target parameter for all items:
var itemTarget="_self";
or for each item individually:
["Home","testlink.html", "", "", "", "_self", "", "", "", "", "", ],
Q: Is there a way we can add javascript behaviors to the popup menu in java actions? For example, is there a way we can add an onClick function to a popup menu in java item (eg, onClick="return MyFunction( )" ) so that we can catch and process key events?
I'm really hoping there's a way of doing this...
A: Unfortunately, you can't assign onmouseover/onClick/onContextMenu event to each item. However, you can achieve this by using standard html objects within popup menu in java items, for example:
var menuitems = [
["<div onContextMenu='your_code_here'>item text</div>", ""]
];
You can use your own Javascript code instead standard links. For example:
var menuItems = [
["text", "javascript:your_code_here"]
];
Q: How do I turn off the transitional effects for the html menus (is there a flag)?
A: To turn off transitional effects you should set the following parameters:
var transition=-1;
var transOptions="";
var transDuration=0;
var transDuration2=0;