posted Feb 17, 2011, 3:54 PM by Chris Franklin
updated Feb 17, 2011, 7:25 PM
Favico is simple plugin that adds a new column in the message list that shows either the remote servers current favicon OR if that can't be found/loaded it try to load a local "version" of a favicon for that domain/domain extension. Although if either of those can be found a "unknown" icon is used.
How it works
create a containter DIV
create 1 new div per the fallowing
remote current favicon (with www added to the senders domain example:www.nomadcf.com)
remote current favicon (using plain senders domain example:nomadcf.com)
current local image:nomadcf.com
current local extension image example:.com
unknown/not found image
stack the images in the order that we prefer the users to see (current remote,local,domain extension,not found)
set the container DIV position to relative
set all other DIVs to static and tell all of them to consum the same "space".
each DIV has the style tag background URL to the image we want. This means IF the image can't be loaded. It'll just be "transparent".