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: If I have a Menu and Tab control on the same page, how do I get the menu pop up to have a higher z-index so it displays on top on the tabs?
I want the main menu to display above the Label/Candle tab control.
A: Deluxe Tabs has z-index = 2000
Deluxe Menu has z-index = 1000
You can open dmenu.js file in any text editor and find the following code:
dmZOrder=1000
Change it to
dmZOrder=2050
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: What I would like to see is the ability to have a base site navigation menu with all the definitional entries (size, locations, icons, etc.) defined but all the menuitems be called from an Ajax file.
A: You cannot use ajax submenus for the top items.
But you can use several .js file, for example:
params.js //file with all menu parameters (size, locations, icons, etc.)
all code before
var menuItems = [
...
];
dm_init();
data_ajax1.js //data files for ajax submenus
data_ajax2.js
data_ajax3.js
...
main_data.js - data file with the following code:
var menuItems = [
["Item 1","", "", "", "", "", "0", "0", "data_ajax1.js", "", "", ],
["Item 2","", "", "", "", "", "0", "0", "data_ajax2.js", "", "", ],
["Item 3","", "", "", "", "", "0", "0", "data_ajax3.js", "", "", ],
["Item 4","", "", "", "", "", "0", "0", "data_ajax4.js", "", "", ],
];
dm_init();
You can also place this code into your html page directly (in the place where you want tohave a menu):
<script type="text/javascript">
var menuItems = [
["Item 1","", "", "", "", "", "0", "0", "data_ajax1.js", "", "", ],
["Item 2","", "", "", "", "", "0", "0", "data_ajax2.js", "", "", ],
["Item 3","", "", "", "", "", "0", "0", "data_ajax3.js", "", "", ],
["Item 4","", "", "", "", "", "0", "0", "data_ajax4.js", "", "", ],
];
dm_init();