Recent Questions
Q: I am trying to placed a separator image in between each item in my css vertical dropdown menu. I have placed the image in the seperator field and it will not display. How can I get an image to be a separator in between items on my css vertical dropdown menu?
A: To add a separator you should
//--- Separators
var separatorImage=""; //for subitems (top items in css vertical dropdown menu)
var separatorWidth="100%";
var separatorHeight="3px";
var separatorAlignment="right";
var separatorVImage="separator.gif"; //for the top items (subitems items in css vertical dropdown 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: I was wondering how do I add more then five items on the top javascript toggle menu rather then using a sub menu.
A: Actually you can add as many top items as you want.
Use Deluxe Tuner to add more items or add them in your data filemanually, for example:
var menuItems = [
["Item 1","whatsnew.htm", "Buttons/whatsnewup.jpg", "Buttons/whatsnewover.jpg", "", "", "", "", "", "", "", ],
["Item 2","test.htm", "", "", "", "", "", "", "", "", "", ],
["Item 3","index.htm", "Buttons/homeup.jpg", "Buttons/homeover.jpg", "", "_parent", "", "", "", "", "", ],
["Item 4","about.htm", "Buttons/aboutup.jpg", "Buttons/aboutover.jpg", "", "_parent", "", "", "", "", "", ],
["Item 5","commserv.htm", "buttons/commservup.jpg", "buttons/commservover.jpg", "", "_parent", "", "", "", "", "", ],
["Item 6","conference.htm", "buttons/conferenceup.jpg", "buttons/conferenceover.jpg", "", "_parent", "", "", "", "", "", ],
["Item 7","lodges.htm", "buttons/districtsup.jpg", "", "", "_parent", "", "", "", "", "", ],
Q: I think I am almost there.
I would like to know a couple of things.
Why the menu does not float?
Why I cannot centre the menu?
A: When you use floatable menu you can't use relative menu position.
So, if you use
var absolutePos = 0;
and to center the menu you use <p> or <div> with the center alignment your menu won't float.
To center your floatable menu you should set absolute coordinates.
var absolutePos = 1;
Q: The home page of our website uses java script dhtml. The error comes up when attempting to select a tab for the first time; subsequent selections are fine. The error is something about an object being null. Probably just need to modify a function to test for null, but can't read the .js file because its obfuscated.
A: You should set the following java script dhtml parameter.
var bselectedSmItem=0;
There are no subitems in your menu.