Jacek, Would you please elaborate your special CSS classes? Do you mean apply a different CSS class to a different menu title? What I need is to put a different image in front of each menu/submenu title. It sounds like your special CSS class is enough for this. Thanks a lot for your help. Yiguang
-----Original Message----- From: Jacek Wiślicki [mailto:[EMAIL PROTECTED] Sent: Friday, May 19, 2006 4:38 PM To: Jetspeed Users List Subject: Re: navigation menu control-a new twist Wiadomosc od Hu, Yiguang z 2006-05-19 22:32 brzmiala: > I got this working now. Thank you Jacek and Randy for you inputs. Now I > have another question. I need to display a different image for different > menu. So I need an extra configurable property such as style or class or > image, what ever. Can I extend the current menu implementation object > and change configuration to use the new object? If it is doable, which > file I should change to configure it to use my extended menu? Or if > there is an existing better way? Or does jetspeed plan to add a support > for user defined attribute (such as name value pairs) some what like > this: > <menu name="left-column" options="/" depth="0" paths="false" > regexp="false"> > <title>RootTitle</title> > <separator> > <text>Separator</text> > </separator> > <properties> > <name1>value1</name1> > <name2>value2</name2> > </properties> In my decorator there are special CSS classes defined. But if you need more than a few images (represented by CSS classes), you should use some extra Velocity logic. -- pozdrawiam, Jacek Wislicki [EMAIL PROTECTED] tel.: +48 502 408 444 gg: 2540358 skype: jacek_wislicki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
