Recent Questions
Q: How can I get an image to be a separator in between items on my css vertical drop down menu?
A: To add a separator you should
//--- Separators
var separatorImage=""; //for subitems (top items in vertical menu)
var separatorWidth="100%";
var separatorHeight="3px";
var separatorAlignment="right";
var separatorVImage="separator.gif"; //for the top items (subitems items in vertical menu)
var separatorVWidth="100%";
var separatorVHeight="2px";
var separatorPadding="";
You can create separators using menuItems (you can do it in DeluxeTuner, use "Add separator" button), for example:
var menuItems = [
["item 1"],
["-"], // this item is separator
["item 2"],
];
Q: When the menus drop down the background is white but it is see through, this is ok on the homepage but on the other pages it is making the text unreadable. Is there a way of keeping the background of the submenus solid so it isn't see through javascript expanding menu?
A: You should set the following parameter:
var transparency="100";
Q: I want to be able to have all of the submenus start at the top of the menu. For example, when I hover across each of my menu items in a vertical level, I want the sublevel menu to start at the very top of the menu, not out beside the menu option. How can I achieve this
A: You can have such effect only for the first subitems.
Others subitems will have Y offset.
Please, see the attached example.
You should adjust the following parameters:
var topDX=-116;
var topDY=-31;
var DX=-148;
var DY=-32;
Q: Have a question regarding your Deluxe-Tabs product.
Is it possible to set dhtml navigation menu up so clicking a tab runs a function in my page?
A: You can use your own javascript functions and html code in the menu items.
Unfortunately, you can't assign onmouseover/onClick event to each item. However, you can achieve this by using standard html objects within items, for example:
var bmenuitems = [
["<div onMouseover='your_code_here'>item text</div>", "content1"]
];