Recent Questions Treeview Async Javascript
Q: I want to emulate all browsers with the same transition. When mousing over a dhtml pulldown menu - the submenu should appear with no effect.
A: To turn off transitional effects you should set the following parameters:
var transition=-1;
var transOptions="";
var transDuration=0;
var transDuration2=0;
Q: Shall I have to call the main egine file of the javascript menu maker - dmenu.js twice if I want to install two menus on the page.
The second script:
<script type="text/javascript" src="datatopnav.files/dmenu.js"></script>
Is for the top navigation menu, the datahscounseling is for the side menu. If I delete that line won't my top navigation be gone?
A: No, when you have several menus on the same page you should calldmenu.js file only once and then call several data files.
You should install the menus in the following way:
<head>
...
<noscript><a href=http://deluxe-menu.com/>Javascript Menu Maker by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "datahscounseling.files/";</script>
<script type="text/javascript" src="datahscounseling.files/dmenu.js"></script>
<script type="text/javascript" src="datatopnav.files/dmenu.js"></script>
<!-- (c) 2007, http://deluxe-menu.com -->
...
</head>
<body>
...
<TD height=25 colSpan=3 class=style1>
<script type="text/javascript" src="datatopnav.js"></script></TD>
...
<td width="180" height="307" rowspan="2" valign="top" bgcolor="ffffff"><div align="left">
<script type="text/javascript" src="datahscounseling.js"></script></DIV>
...
</body>
Both menu will work correctly in that case.
See the example I've sent you. It works fine.
You can find more info about installation of several menus on thesingle page:
http://deluxe-menu.com/installation-info.htmlQ: I am trying to placed a separator image in between each item in my css vertical dropdown menu. I have placed the image in the seperator field and it will not display. How can I get an image to be a separator in between items on my css vertical dropdown menu?
A: To add a separator you should
//--- Separators
var separatorImage=""; //for subitems (top items in css vertical dropdown menu)
var separatorWidth="100%";
var separatorHeight="3px";
var separatorAlignment="right";
var separatorVImage="separator.gif"; //for the top items (subitems items in css vertical dropdown menu)
var separatorVWidth="100%";
var separatorVHeight="2px";
var separatorPadding="";
You can create separators using menuItems (you can do it in DeluxeTuner, use "Add separator" button), for example:
var menuItems = [
["item 1"],
["-"], // this item is separator
["item 2"],
];
Q: I want create a vertical dropdown menu with vertical - Submenu's. Is this possible?
A: You should set the following parameters to create vertical menu:
var isHorizontal=0;
var smOrientation=0;