Great, thank you
On 8/20/07, Jeanne Waldman <[EMAIL PROTECTED]> wrote:
> Hi Andrew,
>
> You would like to be able to have an icon in your skin, right? icons end
> in 'icon' and they get rendered as <img> tags (or text).
> Like:
> af|xyz::my-icon { content: url("help.png")};
>
> tr:image does not do this for you.
>
> tr:icon will.
> Try:
> <tr:icon name="foo"> where in your skinning css file you have a selector
> that is
> .AFFooIcon {content: url("xxx/xxx/abc.gif"); width: 15px; height: 20px;}
>
> - Jeanne
>
> Andrew Robinson wrote:
> > Is it possible to have a tr:image without a source attribute, but to
> > delegate that URL to the skin? Right now I am using a bean to set the
> > skin, so I can get a different image per skin, but I have to keep the
> > image name the same in all skins. It would be a cleaner solution to
> > have some way for the skin to set the source.
> >
> > Thanks,
> > Andrew
> >
> >
>