add image to beginning of menu item

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Elaine Shuman
Advanced
Advanced
Posts: 10
Joined: Wed Sep 10, 2003 7:49 pm

add image to beginning of menu item

Post by Elaine Shuman »

I want to add a "new" image to the left of a menu item.

[code]aI("image=graphics/new.gif; text=NIH Public Access;url=NIH_Submissions.html;");[/code]

This will only show the graphic. How do I get the text to also show?

thank you
Elaine
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I just tried that code in the sample menu with a new.gif image and it works fine. Do you by chance have an old version of the menu, some of them had that problem I believe.

There is also a little function you can use that allows you to put a date in at which time it will stop showing the image. You can find a demo and sample of how to do that here.

Ruth
Post Reply