|
How I can add little vertical spacers between menu items in the populate drop down menu?
Return to Recent Questions
Q:
I'm just trying to add little vertical spacers between menu items in the populate drop down menu.
How can I do it with DHTML Menu.
A:
See the following parameters of the menu:
//------- Separators -------
var separatorWidth = "10";
var separatorHeight = "20";
var separatorAlignment = "center";
var separatorImage = "C";
var separatorVWidth = "20";
var separatorVHeight = "10%";
var separatorVImage = "image.jpg";
You can create separators between items in the populate drop down menu using menuItems, for example:
var menuItems = [
["item 1"],
["-"], // this item is separator
["item 2"],
["|item 3"],
["|-"], // this subitem is separator
["|item 4"],
];
Return to Recent Questions
Related:
- March 12, 2009 - I don't understand, how can change place of the icon in button context menu...
- March 13, 2009 - Now we are having the "Incorrect Copyright" on our java popup menu...
- March 14, 2009 - I am having a problem with css styles in the vertical css menu.
- March 15, 2009 - I have problems with transitional effects in Firefox in the simple dhtml menu...
- March 16, 2009 - Is there any way to keep a right click menu javascript lit up when going to another page?
- March 16, 2009 - How can I change item width in the Vista templates in the dynamic menu using?
- March 18, 2009 - I am getting a Javascript error, when accessing any of the dropdown menu example.
- March 19, 2009 - How to get the navigation menu using to highlight and stay on the page you're viewing?
- March 19, 2009 - I need that the drop down menu java loads pages into an iFrame.
- March 20, 2009 - Links don't work in the down menu web. How can I correct this?
- March 21, 2009 - How can we increase the width of the vista style buttons of dhtml select?
|