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: I'm in search for a product like "Deluxe Menu".
Before buying your software, I'd need to know if I can use images (eg *.jpgs) within rollover drop menu instead of just text; my menu items need to be images. Does "Deluxe Menu" support this?
A: Yes, you can create image-based rollover drop menu.
If item text is empty, icon fields will be used as item images.
For example:
["", "index.html", "itemImageNormal.gif", "itemImageOver.gif", "Home Page"]
Q: I have looked and looked but I cannot figure out for the life of me how to make the Icon ontop and the words on the bottom of java menu items, The class A and Class C words need to be at the bottom of the pictures if possible.
A: You can paste any html code within java menu items.
For example:
["<img src='image.gif'> <br>Class A ","","","",""]
Q: I am becoming more frustrated by the moment. I try to add more menu items, the default icons (images) disappear and I can't figure out how to get them back.
Is this a bug in your software or am I simply doing something wrong? Every time this happens, I have to start over and end up with the same results - lost or missing icons.
A: That's mean that you don't use Individual Item Styles for the newitems.
Please, see how you should use Individual Styles for the items similar the one which you're going tocreate and see it parameters.
You should use the same parameters for the new item.
Try that.