Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:36
bgimages
Poster: tigersahrk
Dated: Sunday March 21 2004 - 12:09:37 GMT
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
Poster: bobwill
Dated: Sunday March 21 2004 - 13:35:41 GMT
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.
Poster: tigersahrk
Dated: Sunday March 21 2004 - 16:41:01 GMT
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
Poster: Maz
Dated: Sunday March 21 2004 - 16:43:31 GMT
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
Poster: kevin3442
Dated: Wednesday March 24 2004 - 0:34:53 GMT
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