Possible to have further images/icons after menu items?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
codlord
Advanced
Advanced
Posts: 20
Joined: Thu Sep 05, 2002 10:20 am
Location: UK

Possible to have further images/icons after menu items?

Post by codlord »

Is there any way to add further images/icons after menu item text?

I have icons before some menu items with the image= setting but we have a requirement where a menu will list a number of tasks for a user and when tasks are updated then I want an icon next to those tasks indicating this (also further requirements for other icons indicating different things for menu items - so one menu item may have 2 or 3 icons after it).

Any ideas?

Thanks
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Hi,

Just add the image as HTML to the text part of the menu item, like this:

aI("text=<img src=image.gif>Some Text<img src=image2.gif>;image=image3.gif");

Hope this helps,
Andy
codlord
Advanced
Advanced
Posts: 20
Joined: Thu Sep 05, 2002 10:20 am
Location: UK

Post by codlord »

Perfect! thanks.
Post Reply