How can I get an image to be a separator in between items on my css vertical dropdown menu?
Return to 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 Deluxe
Tuner, use "Add separator" button), for example:
var menuItems = [
["item 1"],
["-"], // this item is separator
["item 2"],
];
Return to Recent Questions
Related:
- Sep 02, 2006 - Little vertical spacers between menu items in the drop down menu.
- Sep 06, 2006 - The alighment of the dropdown menu is off to the right in Firefox...
- Sep 06, 2006 - Can't see my javascript vertical tree menu in FireFox.
- Sep 11, 2006 - How can I hide my dropdown menu on print?
- Sep 11, 2006 - If I use doctype the settings of the submenus in javascript dropdown menu get lost.
- Sep 15, 2006 - Are vertical menus also supported? I don't see any in the javascript menu examples.
- Oct 01, 2006 - When I click on link of my vertical drop down menu no file is loaded!?
- Oct 12, 2006 - Can I create a scroll vertical menu on the right side and the subnav popout on the LEFT?
- Oct 13, 2006 - Under the menu images there is a gray line that makes it look broken.
- Oct 16, 2006 - I need the sub menu of the drop menu to be vertical instead of horizontal
- Oct 27, 2006 - In IE 6.0 and Firefox 1.5.0.4, the submenus of my dhtml dropdown menu are not visible
|