Recent Questions
Q: I changed the parameter from
var dmObjectsCheck=0;
to
var dmObjectsCheck=1;
in the data.js file
but it didn't change it;
_____________________
I opened the dmenu_add.js file, but I'm not sure what I'm supposed to do with it?
_____________________
I went to your sample page and I would like to add the item widths into mydata.js file, but each item is a different width. Would it be correct for meto do this?...
var itemStyles = [
["itemWidth=98px"],
];
Or will I have to make all the main menu items/graphics the same width?
A: You don't have to change your dmenu_add.js file.
Please, place this file in the folder where your menu iscreated in.
Yes, you can set itemWidth for each main item.
Please, use Deluxe Tuner to create your individual styles.
You should write, for example, so:
var itemStyles = [
["itemWidth=98px"], // style 0
["itemWidth=100px"], // style 1
["itemWidth=110px"], // style 2
["itemWidth=120px"], // style 3
["itemWidth=95px"], // style 4
];
var menuItems = [
["","", "data.files/products.gif", "data.files/products_mo.gif", "Products", "_self","0" , , , ],
["","", "data.files/demoCenter.gif", "data.files/demoCenter_mo.gif", , ,"1", , , ],
["","", "data.files/resources.gif", "data.files/resources_mo.gif", , ,"2", , , ],
["","support.htm", "data.files/support.gif", "data.files/support_mo.gif", , "_self","4", , , ],
["","", "data.files/company.gif", "data.files/company_mo.gif", , , , , , ],];
Q: How can I setup Font Size, color for individual level, button? How?
A: You should use Individual Item Styles.
var itemStyles = [
["itemBackColor=#B6E025,#769315","fontStyle=bold 10px Bookman Old Style"], //style 0
];
menuItems = [
...
["Product Info","", "default.files/icon1.gif", "default.files/icon1o.gif", , , , , , ],
["|Features","testlink.html", "default.files/icon2.gif", "default.files/icon2o.gif", , , "0", , , ], //style 0
["|Installation","", "default.files/icon2.gif", "default.files/icon2o.gif", , , "0", , , ], //style 0
...
];
Q: What makes your menu in javascript search engine friendly?
A: You should add the following link on your page. Also these links willbe visible if javascript turn off in your browser and you cannot seethe menu.
<div id="dmlinks">
<a href="http://deluxe-menu.com">menu_item_text1</a>
<a href="http://deluxe-tree.com">menu_item_text2</a>
...etc.
</div>
Q: How do I align sub-menus on the left for the javascript menu sample?
A: Set the following menu parameters:
var subMenuAlign="left";
var subMenuVAlign="top";