subimage and selected item

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
ljp007
Beginner
Beginner
Posts: 2
Joined: Tue Feb 07, 2006 8:21 pm

subimage and selected item

Post by ljp007 »

Is there a subimage over property? i simply want to use a different arrow image for the subimage on rollover?

Also, i'm using images for the global nav. when a user is in a section of the site, such as "Services", I want to have the services image selected (showing the on state, services_on.gif). Is there a method for easily doing this?

Thanks for any help.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

onsubimage="whateverimage"; that goes up where you have the subimage=

As to the page highlighting, if you are using actual images for your items, i.e. image=services.gif;overimage=services_on.gif; then you would need to

1. use pageimage=services_on.gif; in the same place you have the image and overimage.

2. create a different image for page highlighting and use that in the pageimage= code in the aI string.

If you are using bgimage= and overbgimage= then you would use pagebgimage=

As another option, and this will work with text items, items made of images, or items with bgimages you can use pageborder="1px solid #ffffff"

If you code that in the style, then the border will appear in any item in any menu that uses the style when the page matches, if you use it in the aI string, then it will appear only around that item.

Below my name is a set of links, there is more information about the various properties for style, menus or items.

Ruth
Post Reply