bgimages

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
tigersahrk
Beginner
Beginner
Posts: 6
Joined: Sun Mar 21, 2004 1:01 pm

bgimages

Post by tigersahrk »

it is nice to use a bgimage with the new version, but it is visible in the main and in the submenue.

Is it possible to use the bgimage only for the main menu?

thanks
User avatar
bobwill
Mega Advanced
Mega Advanced
Posts: 229
Joined: Tue Oct 01, 2002 3:03 pm
Location: Kansas
Contact:

Post by bobwill »

This may help.

I assume you are using the property item, bgimage=yourimage.gif; for the menus that you want to declare a background image for.

If you then set the offbgcolor in the other menus you won't see the image.
tigersahrk
Beginner
Beginner
Posts: 6
Joined: Sun Mar 21, 2004 1:01 pm

Post by tigersahrk »

yes you are right,
I am using the "bgimage=yourimage.gif" for the main menu.
Unfortunately it is also appears in the submenu.

Hope your tip helps.
But I do not understand how to set the offbgcolor in the other menus.

thanks again
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Yes, you can use menubgimage, it works very well, then if you want an item different you can use bgimage on any item.

Hope that helps.
maz
tigersahrk
Beginner
Beginner
Posts: 6
Joined: Sun Mar 21, 2004 1:01 pm

Post by tigersahrk »

yes it works,

thanks a lot
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Hi Tigershark,

A common approach: You can define two different styles, one for the main menu, using bgimage (and whatever other properties you want to set), and another without bgimage defined. So, suppose you had your two styles, mainStyle and subStyle. When you define the menus, you tell the menu which style to use by setting style=mainStyle or style=subStyle.

Kevin
blaine
Super Advanced
Super Advanced
Posts: 59
Joined: Mon Apr 05, 2004 11:29 pm

Post by blaine »

The bgimage property worked but disappears when you mouseover it.

I'd like to use the same bgimage but just change the color. Can that be done?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Post the code you have so we can see it. Unless you have a page up now?

Ruth
Post Reply