For some reason my item separator image will not show in javascript slide down menu
Return to Recent Questions
Q:
The first is that for some reason my item separator image will not show. I
have tried everything.. and no matter what I do the image will not show.
I designed a graphic that is 2 pixels high and is the width of the total
menu. The first problem is that the graphic wont show at all.. and I do not
know why. Secondly, I am now thinking that I would like to use the separator
graphic on all levels of the menu.. but this creates a another issue.. as
the width of the submenus varies based on the length of the text displayed.
How then can I have a separator image work in the submenus?
A:
Try to write you Item Styles so:
var itemStyles = [
["itemBorderWidth=1","itemBorderStyle=solid,solid","itemBorderColor=#D7F5FE,#FFFFFF", "fontColor=#A0A0A0,#A0A0A0","fontDecoration=none,none"],
["itemBackColor=#6DD0FE,#00ACFC","itemBorderWidth=1","itemBorderStyle=solid,solid", "itemBorderColor=#6DD0FE,#FFFFFF"],
];
See the normal item border color.
You didn't paste separator into your menuItems.
["-",],
Return to Recent Questions
|