problem with the "arrow" bg color in the menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Lazarus
Beginner
Beginner
Posts: 2
Joined: Sat Aug 07, 2004 11:31 pm

problem with the "arrow" bg color in the menu

Post by Lazarus »

Hi,

Here's my problem :
I'm using the menu only with images : every button is an image (I use no text.)
Hence, when I use sub-menus, an arrow (the arrow.gif) indicates that there IS a sub-menu, appearing just beside my menu button.
The problem is : this arrow has a bg color different of the color of my images.

You'll say : change the bgcolor of the menu.
The problem is : I have images with different colors. I hence can't just sepcify ONE bg color for the whole menu.
So how could I have this arrow have a transparent bg color so that it would just look like it slides OVER my images and not beside with a different bgcolor? OR how can I tell the menu to apply the color of the image to the arrow bgcolor?

Hope I was clear enough...
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Well, the easiest answer is to add an on and offbgcolor to each menu item.

onbgcolor=#......;offbgcolor=#......;

or change each subimage and add that to each line

subimage=/.../subimage.gif;oversubimage=/.../osubimage.gif;

I suggest testing it in different browsers to see if one works better over the other.

maz
Lazarus
Beginner
Beginner
Posts: 2
Joined: Sat Aug 07, 2004 11:31 pm

thanks

Post by Lazarus »

Thank you, I'll try this :)
Post Reply