473,406 Members | 2,549 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Favicon question

Hi there,

If I use frames, should a reference to the favicon.ico (like:
<link rel="shortcut icon" href="pictures/favicon.ico"
type="image/x-icon">) be placed on _every page_, or is one reference
in the index.htm (top-frame) enough.

I'm asking this question because I had a reference in my top-frame
only, wich seemed to work OK (the favicon showd in the adress-bar in
all frames), but all of a sudden the favicon won't show anymore in the
adress-bar (it still shows up in the bookmarks). This happened both in
IE and FireFox at home (Win ME, IE 5.5/FF 0.9.3) and at work (Win XP
Pro, IE 6/FF 1.0).

I haven the favicon.ico file both in the "pictures/" folder and in the
folder where the top-frame is in (if this information is of any
importance).

Any help would be appreciated.

Bart
--
Bart Broersma
br*********************@tiscali.nl
(ff _ANTISPAM_ wegpoetsen uit dit adres natuurlijk)
Jul 23 '05 #1
7 5014
On Tue, 28 Dec 2004 20:37:51 +0100, Bart <br*********************@tiscali.nl>
wrote:
If I use frames, should a reference to the favicon.ico (like:
<link rel="shortcut icon" href="pictures/favicon.ico"
type="image/x-icon">) be placed on _every page_, or is one reference
in the index.htm (top-frame) enough.
I'm guessing here, but since it is a 'favicon', meant to show in IE's
favourites toolbar originally, I suppose you set it on the page that gets
linked if bookmarked as a favourite.
I'm asking this question because I had a reference in my top-frame
only, wich seemed to work OK
URL?
(the favicon showd in the adress-bar in
all frames), but all of a sudden the favicon won't show anymore in the
adress-bar (it still shows up in the bookmarks). This happened both in
IE and FireFox at home (Win ME, IE 5.5/FF 0.9.3) and at work (Win XP
Pro, IE 6/FF 1.0).
Hadn't you used frames, you wouldn't be experiencing this problem in the first
place:
<http://home.wanadoo.nl/b.de.zoete/_private/2004/11/frames.html>
and <http://www.google.nl/search?%22your+browser+doesn't+support%22+frames>
I haven the favicon.ico file both in the "pictures/" folder and in the
folder where the top-frame is in (if this information is of any
importance).


It should be at the place you reference in the <link rel="shortcut icon">, but
usually putting it in the root will do (although you won't be able to put it
in the root of tiscalli.nl) ;-) .
--
,------------- PretLetters: 'woest wyf', met vele interesses: --------------.
| weblog | <http://home.wanadoo.nl/b.de.zoete/_private/weblog.html> |
| webontwerp | <http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html> |
| zweefvliegen | <http://home.wanadoo.nl/b.de.zoete/html/vliegen.html> |
`---------------------------------------------------------------------------'
Jul 23 '05 #2
On Tue, 28 Dec 2004 20:44:57 +0100, Barbara de Zoete <b_********@hotmail.com>
wrote:

The Google link should read:
and <http://www.google.nl/search?q=%22your+browser+doesn't+support%22+frames >


Sorry for that.

--
,------------- PretLetters: 'woest wyf', met vele interesses: --------------.
| weblog | <http://home.wanadoo.nl/b.de.zoete/_private/weblog.html> |
| webontwerp | <http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html> |
| zweefvliegen | <http://home.wanadoo.nl/b.de.zoete/html/vliegen.html> |
`---------------------------------------------------------------------------'
Jul 23 '05 #3
Tim
On Tue, 28 Dec 2004 20:37:51 +0100,
Bart <br*********************@tiscali.nl> posted:
If I use frames, should a reference to the favicon.ico (like:
<link rel="shortcut icon" href="pictures/favicon.ico"
type="image/x-icon">) be placed on _every page_, or is one reference
in the index.htm (top-frame) enough.
Possibly in all of them, I haven't seen anything detailing how browsers
should handle favicons with frames. Frames are evil, search against that
exact phrase and you'll find all manner of explanations why. :-\ But
seeing how it's the URL for the frameset document that *you* load, I'd
expect it to go there.

If your website happens to be in the root of a domain [1], then you don't
need to put a link for it. But if you're in a sub-directory off the root
[2], then you will. Browsers generally look for it at one well-known
address ("/favicon.ico").

1: http://www.example.com/
2: http://www.example.com/users/your_space/
but all of a sudden the favicon won't show anymore in the
adress-bar (it still shows up in the bookmarks)
That can sometimes happen if you don't create the icon file in the manner
the browser expects (16x16 pixels, if I recall correctly).
I haven the favicon.ico file both in the "pictures/" folder and in the
folder where the top-frame is in (if this information is of any
importance).


Put the icon file in one place, and if you're writing links to it rather
than letting the browser find it where it expects it, write all of those
links to its actual location.

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.
Jul 23 '05 #4
Dan

Tim wrote:
If your website happens to be in the root of a domain [1], then you don't need to put a link for it. But if you're in a sub-directory off the root [2], then you will. Browsers generally look for it at one well-known
address ("/favicon.ico").


As far as I am aware, Mozilla only looks for it at all if it is
explicitly in a link element, since it is impolite to webmasters to be
making requests for often-nonexistent files in the absence of anything
announcing their presence.

--
Dan

Jul 23 '05 #5
Tim
Tim wrote:
If your website happens to be in the root of a domain [1], then you
don't need to put a link for it. But if you're in a sub-directory off
the root [2], then you will. Browsers generally look for it at one
well-known address ("/favicon.ico").

"Dan" <da*@tobias.name> posted:
As far as I am aware, Mozilla only looks for it at all if it is
explicitly in a link element,
Here, all my current browsers I just played with find it by themselves at
"/favicon.ico" without a specific link to it in the HTML document (Mozilla,
Firefox, MSIE, Opera - though I don't have the absolute latest public
version of Opera).
since it is impolite to webmasters to be making requests for
often-nonexistent files in the absence of anything announcing
their presence.


Impolite for "web browsers" to make the request...

But I agree, it's not a particularly good thing to request files that
haven't been offered, although "/favicon.ico" has such a long history by
now that one shouldn't be surprised by the request.

It's not the only thing that works that way, some modern browsers will make
a request for a P3P file at a "well known" (common default) address (if I
recall correctly, it's "/w3c/p3p.xml").

And web spiders will look for "/robots.txt", another unadvertised file.

There's probably some others, too.

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.
Jul 23 '05 #6
Op Tue, 28 Dec 2004 20:44:57 +0100 schreef "Barbara de Zoete"
<b_********@hotmail.com>:

URL?
http://home-1.tiscali.nl/~knmg0017/
(the favicon showd in the adress-bar in
all frames), but all of a sudden the favicon won't show anymore in the
adress-bar (it still shows up in the bookmarks). This happened both in
IE and FireFox at home (Win ME, IE 5.5/FF 0.9.3) and at work (Win XP
Pro, IE 6/FF 1.0).
Hadn't you used frames, you wouldn't be experiencing this problem in the first
place:
<http://home.wanadoo.nl/b.de.zoete/_private/2004/11/frames.html>


Yes, but my left frame is used for navigating, it saves time loading
and rendering while browsing on my site.
and <http://www.google.nl/search?%22your+browser+doesn't+support%22+frames>
What browsers don't support frames these days ??
(I know my site is not very accessible for e.g. visually handicapped
people)
It should be at the place you reference in the <link rel="shortcut icon">, but
usually putting it in the root will do (although you won't be able to put it
in the root of tiscalli.nl) ;-) .


Just flushed my FF cache, and now the favicon is there again ...
Thanks for the input.

Bart

--
Bart Broersma
br*********************@tiscali.nl
(ff _ANTISPAM_ wegpoetsen uit dit adres natuurlijk)
Jul 23 '05 #7
On Fri, 31 Dec 2004, Bart wrote:
Op Tue, 28 Dec 2004 20:44:57 +0100 schreef "Barbara de Zoete"
and
<http://www.google.nl/search?%22your+browser+doesn't+support%22+frames>
What browsers don't support frames these days ??
Talk about comprehensively missing the point!!!

Unfortunately, very few /browsers/ allow the user to opt out of
frames. Given the many acknowledged shortcomings of frames, that alone
/should/ be enough reason to avoid using them, unless you provide an
equal-valued explicit alternative.

But the perceptive Barbara wasn't talking about a browser! - and
that's the point which seems to have escaped your notice.
(I know my site is not very accessible for e.g. visually handicapped
Such as web indexing robots, maybe?
people)


Not all (immediate) web clients are "people". Given that it's
"people" you're presumably intending to reach - in the end - it surely
makes sense to co-operate with the intermediaries. Such as search
engines.

And the ability to define bookmarks, and send them to a friend. And
so on.

This isn't new. You really could learn from reading earlier
discussions, you know.
Jul 23 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mike | last post by:
I am sure that I am making a simple boneheaded mistake and I would appreciate your help in spotting in. I have just installed apache_2.0.53-win32-x86-no_ssl.exe php-5.0.3-Win32.zip...
2
by: Neal | last post by:
The favicon generator at http://www.favicon.com/ is "temporarily disabled" - anyone know the status of that, and/or an alternate place to generate an ..ico file?
5
by: Roamer | last post by:
Can anyone tell me why my favicon.ico is no longer appearing in IE6, but is in NS7.1. It always used to. See http://rmhh.co.uk/ TIA
1
by: Robert Oschler | last post by:
I have a 16 color 16 x 16 pixel icon (favicon.ico); 4-bit palette. I have put the icon in the root directory of my web site, and I have also added the <link rel="SHORTCUT ICON" ... /> HTML tag in...
2
by: foldface | last post by:
Hi If I have a website with a url like http://localhost/MyWebPage/SomeDirectory/startPage.aspx Can I still use a favicon.ico file? For the entire Site? How? Its hard to experiment with favicon...
4
by: Chameleon | last post by:
the extension of favicon MUST BE ico? what if I use a 16x16 favicon.png?
15
by: BT | last post by:
I'm have a problem showing a favicon in ver 1.7.10. It shows up correctly in the address bar, but is missing from the tab. I've tried each of these HTML 'statements' to add the favicon to the page,...
4
by: mistral | last post by:
Does it possible change favicon icon depending on browser type: display favicon.ico for Internet Explorer browsers, and favicon.gif for the rest browsers? Problem is that ugly MSIE can display only...
0
by: Guy Macon | last post by:
Moon wrote: It isn't a question of relative vs. full URL paths in your meta tags. It is a question of following the paths (relative or full URL) in your meta tags vs. not reading the meta tags...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.