Show And Tell : Domino and Favicons

Favicons, the little image that appears
beside the url in your browsers addressbar or beside the entry you have
in your bookmarks list. By default Lotus Domino provides it’s own standard
favicon but did you know you can replace it without actually replacing
the file.

Using a special line in the head section
of your HTML page you can redirect the browser to a different favicon.ico
file.  This special line looks like this

<link rel="shortcut icon"
href="/favicon.ico" type="image/x-icon" />

All you need to do then is set the path
to the favicon.ico file and next time the page loads the web broswer will
look for the file you have specified instead of the default one.

What is a favicon.ico file.  Well
it’s nothing more then a 16 x 16 BMP file that has had it’s file extention
renames to .ICO.

And in the new BlogSphere V3 this special
instruction will automatcially be added to the html if it detects that
a ‘Quick Image’ with the name Favicon.Ico has been created. No need to
go into the design and adjust anything. Just create the Quick Image document
and refresh your page.

Advertisements
Tagged with:
Posted in Uncategorized
2 comments on “Show And Tell : Domino and Favicons
  1. Anonymous says:

    Actually, this works best with Firefox. IE6 will only get it sometimes, but mostly not. If you really want a favicon to work all of the time, you need to set it as a rule in Internet Sites or Web Configurations (whichever you happen to use). Personally, I never touch the default one that is installed with Domino. I add a substitution rule to serve up another file instead, ie. when /favicon.ico is requested, substitute with /othericon.ico.And talking about .ico files. Sure, you can rename a bmp file to ico, but that doesn’t make it an ico file. They are different file formats. If you want a real ico file, use an icon editor to create it.

    Like

  2. Alisanta says:

    Another way is to via property in XPage.

    Import the favicon.ico file to File Resource.

    In XPage, All Properties, find “Page Icon”, and you can type favicon.ico directly.

    Like

Comments are closed.

Archives
%d bloggers like this: