|
|
I now have the need to introduce separators on the javascript menu maker.
Return to Recent Questions
Q:
I now have the need to add separators on the javascript menu maker.
Can you tell me how I can do that?
I cannot find any documentation telling me how this is done.
A:
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="3";
var separatorVHeight="100%";
var separatorPadding="";
You should set a separator in the javascript menu maker Items, for example:
var menuItems = [
["Home","index.cfm", , , , , , , , ],
["-"],
["About Us","about.cfm", , , , , , , , ],
];
Try that.
Return to Recent Questions
Related:
|