display icon in menuitem (Firefox)

Posted by Omar Abid on Stack Overflow See other posts from Stack Overflow or by Omar Abid
Published on 2010-03-12T23:42:39Z Indexed on 2010/03/12 23:47 UTC
Read the original article Hit count: 209

Filed under:
|
|

I use the following code

<menu image="chrome://mecho/content/ic.png" label="Mecho Submission Form" class="menu-iconic" id="mechi-menu" insertafter="context-copylink">

Firefox displays an icon in the menu; however when I use the following (for the submenu)

<menuitem label="App" image="chrome://mecho/content/icons/app.png" class="menu-iconic" onclick="mecho.add('katzcd','App')"/>

It doesn't show up!! any idea?

© Stack Overflow or respective owner

Related posts about firefox

Related posts about menu