[Project_owners] Image inside a menuitem

Laeb laebcontact at hotmail.com
Wed Jun 30 18:16:25 EDT 2004


Thank you Neil !

Neil wrote:

> Laeb wrote:

> > I can't figure out how to display an image inside a menuitem. I've 
> > tried this, but no image is displayed:
>  
> > <menulist  width="140" crop="none" >
> >            <menupopup >
> >            <menuitem label="item" 
> >image="chrome://myextension/skin/image.png" class="menuitem-iconic" 
> > crop="none" />
> >             </menupopup>
> >  </menulist>

> Menulist menuitems don't currently support images in all themes, e.g. 
> classic. Where they do, you should use CSS to style them, rather than 
> coding a chrome skin URL.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/project_owners/attachments/20040630/13a167c2/attachment.htm


More information about the Project_owners mailing list