Recent Questions
Q: How can I vary the width of the individual items (Home, Product Info etc) on the main menu bar?
A: I'm not sure I understand you. You want to use different width (exactwidth) for the main items?
You can use Individual Styles to set the width for the menu items.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" , , , ],
["|XLCubed Excel Edition","pro_excel.html", "data.files/iconBlue.gif", "data.files/iconWhite.gif", , "_self", , "0", , ],
["|XLCubed Web Edition","pro_web.html", "data.files/iconBlue.gif", "data.files/iconWhite.gif", , "_self", , "0", , ],
["|TM1 Connection","tm1Connection.htm", "data.files/iconBlue.gif", "data.files/iconWhite.gif", , "_self", , "0", , ],
["|Downloads","downloads.htm", "data.files/iconBlue.gif", "data.files/iconWhite.gif", , , , , , ],
["","", "data.files/demoCenter.gif", "data.files/demoCenter_mo.gif", , ,"1", , , ],
Q: I pushed the js files you attached and it fixed my Trial error message but now my left menus APPLMENU.JS and APPL2MENU.JS won't mouse over and won't open the submenus and it gives a javascript error.
A: Now you have several errors in you data files appl2menu.js andapplmenu.js.
Now you have
var menuBackColor="cccccc";
var menuBorderWidth="";
var itemBorderWidth="";
This is not right.
Try to write them:
var menuBackColor="#CCCCCC";
var menuBorderWidth="0"; //this parameter cannot be empty
var itemBorderWidth="0"; //this parameter cannot be empty
Q: Looks like my submenu text is too long for the background.
How can I ensure the background is the same length as the longest word in my java edit menu submenu list.
A: Try to change the following parameter:
var smWidth="100%";
Set it:
var smWidth="";
Q: What I try to make is a menu dhtml with items having a border of only 1 px, also between the menu items. However it seems that Deluxe menu draws a 1 px line around every menu item giving an effective border line of 2 px between the area where the items touch each other. I want to have 1 px border also on the areas where the items touch each other.
Any suggestion how to fix this?
A: If you want to have the 1px border between the items only you canuse separators.
Please, see the following parameters:
//--- Separators
var separatorImage=""; //for subitems
var separatorWidth="5";
var separatorHeight="100%";
var separatorAlignment="right";
var separatorVImage="images/public/separator.gif"; //for the top items
var separatorVWidth="1";
var separatorVHeight="100%";
var separatorPadding="";
You should set a separator in the menuItems, for example:
var menuItems = [
["Home","index.cfm", , , , , , , , ],
["-"],
["About Us","about.cfm", , , , , , , , ],
];