|
|
Each item is a different width. Can I do this with your html navigation bar?...
Return to 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 my
data.js file, but each item is a different width. Would it be correct for me
to 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 is
created 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", , , , , , ],
];
Return to Recent Questions
|