Living Tomorrow
Thursday, January 10, 2008
Just set attributes 'class' and 'image' for a menuitem, the menu will become vivid immediately.
Sample:
var mi=document.createElement('menuitem');
mi.setAttribute('class', 'menuitem-iconic');
mi.setAttribute('image','chrome://
But it may be affected by themes that you applied. See snapshot below.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment