Recent Questions
Q: No matter where I paste the dhtml rollover I created, it shows up at the top left corner of the page.
A: Try to use relative position
var absolutePos=0;
var posX="";
var posY="";
Q: This is great on last quesion how can I make the items on the top menu with java different colors? I looked at this example and cannot figure it out
http://deluxe-menu.com/data-templates/multiple-styles-1-template-sample.html A: You should create Individual Item Styles and assign them to your topitems:
var itemStyles = [
["itemBackColor=#CE9DE1,#B978D1",],
["itemBackColor=#84DA7A,#48D641",],
["itemBackColor=#5EA6E1,#507ECB",],
["itemBackColor=#54CDCA,#32ABA8"],
];
["Home","", , , , , , , , ],
["Product Info","", , , , , "0", , , ],
["Menu Samples","", , , , , "1", , , ],
["Purchase","", , , , "_blank", "2", , , ],
["Contacts","", , , , , "3", , , ],
Q: What window do I go to in the dhtml menu creater to add the hyperlinks target??? I created menus and submenu but I don't know how to add the hyperlinks to them?
A: You should add links and target in Deluxe Tuner in "ItemParameters" window. See the attached example.To set target for all items you should use the following parameter("Common" section): var itemTarget="_self";
Q: Do you have an extremely simple example of modifying a dynamic drop down menus with the JavaScript API? I've played with the example on the site, but I have trouble removing the other menus without breaking it.
I just want to use the API to change the icon on the menu items.
A: You should use the following function:
function dm_ext_changeItem (menuInd, submenuInd, itemInd, iParams)
<script language="javascript" >
dm_ext_changeItem(0, 0, 1, ["", "", "new_icon.gif", "new_icon_o.gif", "",,""]);
</script>
http://deluxe-menu.com/dynamic-functions-sample.html