I am having trouble using the separators in collapsible javascript.
Return to Recent Questions
Q:
Hello. I am trying to test out your collapsible javascript and I am having trouble
using the separators. Are there certain things that need to be in
placed for the separators to work?
Nothing in the js code is showing me that they even exist.
A:
You should set a separator in the menuItems, for example:
var menuItems = [
["Home","index.cfm", , , , , , , , ],
["-"],
["About Us","about.cfm", , , , , , , , ],
];
Please, see the following menu parameters:
//--- Separators
var separatorImage=""; //for subitems
var separatorWidth="100%";
var separatorHeight="3px";
var separatorAlignment="right";
var separatorVImage="images/public/separator.gif"; //for the top items
var separatorVWidth="100%";
var separatorVHeight="2px";
var separatorPadding="";
Return to Recent Questions
|