Forum Moderators: phranque

Message Too Old, No Replies

Creating custom graphic on address bar and bookmark

         

Fortune Hunter

3:43 am on Feb 8, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have seen sites where there is a custom graphic at the beginning of the address in the address bar and also when you bookmark the page there is a little graphic set by the site owner next to the bookmark instead of the little "e" for explorer. Can someone who has done this tell me how you do it? Thanks

Fortune Hunter

ganderla

3:46 am on Feb 8, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Search for favicon

Fortune Hunter

2:23 am on Feb 23, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I did a search on this and found several good sites, including one that would convert my graphic for me. I have loaded into my directory and it appears to be working fine with one exception.

It doesn't show up in Internet Explorer unles you first bookmark the page. However bookmarking in Firefox allows it to show up on every page.

Is there a piece of code or script that will put this icon in the address bar even if they haven't or don't bookmark the page?

Fortune Hunter

le_gber

9:24 am on Feb 23, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



How did you implement it?

I seem to recall that for ie you may have to add the code (below) in the <head> section of your pages.

For the others having the file on your site's root called favicon.ico is enough.

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

.. I might be wrong though ;)

Fortune Hunter

7:54 pm on Feb 24, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



le_gber:

You are correct, I have the code on every page of my site here is what is in there...

<link rel="shortcut icon" href="favicon.ico">

A little different than your code, but I think this does the same thing. The actual graphic is in the main directory so it gets picked up easily.

However even having done all this you must still bookmark the page to have it show up. I was hoping to find a way to have the graphic show up to the first time visitor who has never bookmarked the page, but if they do it will also show up in their favorites folder as well. I am not sure if this is possible or not.

Fortune Hunter

le_gber

9:04 pm on Feb 24, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



FH have a look on wickipedia for it they have quite a good 'article' on it with browser support and screeshots.