[Project_owners] Listbox with Foldericons

Michael Otto michael at astrapi.de
Sat Jan 8 23:23:41 EST 2005

I assign items the class for the moment as follows:

*theListitem.setAttribute("class", "listitem-iconic");*

how can I assign the custom attributes?

--- Original Nachricht ---
Absender: Neil
Datum: 08.01.2005 21:44

> Michael Otto wrote:
>> I would like to provide a listbox with icons (as in the profile 
>> manager). Contents all accounts should be. I would like to have 
>> represented the symbols exactly as in folderpane. How do I access the 
>> icons from the css-file?
> First, you need to style your xul with the stylesheet 
> chrome://messenger/skin/folderMenus.css (and possibly 
> chrome://messenger/skin/ instead of chrome://global/skin/). Then you 
> need to give your items a class of folderMenuItem and one of more of 
> the custom attributes such as IsServer="true" or ServerType="imap" 
> (usually via an RDF template).
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/project_owners/attachments/20050108/3ae4062d/attachment.htm

More information about the Project_owners mailing list