Recent Questions
Q: Is it possible set a menu item to pressed when a page is loaded when you have multiple drop down menus on the page?
I have 2 menus side by side and I was able to set the pressed item with the JavaScript API as described in your FAQs but when I try to show an item as pressed in a second menu on the same page, the corresponding item in the first menu shows as pressed. Is there a different function that I can use for this or a way to reset the menu ID in the second menu to start from where the first menu left off so I can use the same function?
A: See the first parameter in
dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
function is index of the menu.
So, if you use several menus on the one page you should use differentmenuInd parameter.
For example you have:
<script type="text/javascript" src="menu/data1.js"></script> //menuInd=0
...
<script type="text/javascript" src="menu/data2.js"></script> //menuInd=1
...
<script type="text/javascript" src="menu/data3.js"></script> //menuInd=2
...
<script type="text/javascript" src="menu/data4.js"></script> //menuInd=3
So, for the second menu you should write:
dm_ext_setPressedItem (1, 2, 5)
Q: Is dhtml menu software compatible with mac?
A: You should download free trial version on MAC:
http://deluxe-menu.com/trial-download.html
So, you'll have MAC version of Deluxe Menus.
And use the licensed engine files from the licensed .zip
(you can download it from the link in your license message).
Unfortunately we don't have html version of the Tuner for Deluxe Tree
and Deluxe Tabs now. We'll try to create it in the nearest future.
You can find all templates for Deluxe Tree, Deluxe Tabs, Popup Window, Calendar in the trial package.
More info about installation and parameters you can find on our websites:
http://deluxe-menu.com
http://deluxe-menu.com/css-menu/
http://deluxe-tree.com
http://deluxe-tabs.com
http://deluxepopupwindow.com/
http://calendardatepicker.com/
Q: Hi there ... how do I add in the following javascript code so an exit pop doesn't go off:
onClick="exit=false;"
I read this page, but it didn't work
http://deluxe-menu.com/javascript-link-menu-support.html#
A: Unfortunately, you can't assign onmouseover/onClick event to each item. However, you can achieve this by using standard html objects within items, for example:
var menuitems = [
["<div onClick='your_code_here'>item text</div>", "index.html"]
];
Q: I recently started using a new software program on my home page and am running into an issue with your drop down menu in css working with this software.
Basically no matter what I change the DmZorder to drop down menu in css always shows up behind the dhtml windows that I am trying to use.
After working with their support team they have stated that they believe the problem exists within the menus and I am attaching a screenshot they sent me.
Can you please assist me in resolving this issue?
A: Try to delete the following properties from #main style:
POSITION: absolute; TOP: 0px; LEFT: 0px;
See the attached example.
Set also units in "px":
var itemPadding="2px";
It helps to display the drop down menu in css correctly in all browsers.