473,473 Members | 1,482 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Website icon in JS?

Normally,
we use <link rel="Shortcut Icon" href="favicon.ico"to define the
website icon.

But I view the source of apple.com and yahoo.com,
I find there is no this tag but they can show the icon very well.

What is this technique?
Thanks.

Aug 10 '06 #1
3 1363
I.................................I............... ..............................................

.................................................. ...........................................




............................................

don't know

哈哈

Cylix wrote:
Normally,
we use <link rel="Shortcut Icon" href="favicon.ico"to define the
website icon.

But I view the source of apple.com and yahoo.com,
I find there is no this tag but they can show the icon very well.

What is this technique?
Thanks.
Aug 10 '06 #2
Cylix said the following on 8/10/2006 4:56 AM:
Normally,
we use <link rel="Shortcut Icon" href="favicon.ico"to define the
website icon.

But I view the source of apple.com and yahoo.com,
I find there is no this tag but they can show the icon very well.

What is this technique?
It is browser behavior to try to find the icon for the site and if it
exists then use it. Just put the <link..tag in your HTML template and
then you can forget about it.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Aug 10 '06 #3
Cylix <cy*******@gmail.comwrote:
Normally,
we use <link rel="Shortcut Icon" href="favicon.ico"to define the
website icon.

But I view the source of apple.com and yahoo.com,
I find there is no this tag but they can show the icon very well.
At least Firefox doesn't need the <link>-tag in the header if there is a
favicon.ico in the root directory of the website.
What is this technique?
Thanks.
../otto
Aug 10 '06 #4

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

Similar topics

3
by: Nik | last post by:
Hi everyone, Is there anyway of letting the user click on a link or image, and saving a shortcut icon to the users desktop? Thanks Nik
13
by: Colin Jones | last post by:
Hi - I have recently finished and launched a new website, which I am trying to make accessible and standards compliant. I have checked it with various online validators and it seems to come...
0
by: Alice | last post by:
Hi all How can i change the status bar icon for my website Or The icon shown in user's Task Manager for the browser process fetching my website Thanks in Advance Alice
1
by: Shawn McNiven | last post by:
Hello, I have a problem with an application i'm working on (Asp.net using vb.net for developing). I'm normally used to doing middle tier development, so my javascript skills are not up to par. ...
24
by: Crom | last post by:
Ok. I want to settle this once and for all. After looking at the source for various, rather sizeable (but not all were so big) web sites that use icons that show up in the addressbar beside the...
1
by: Alice | last post by:
Hi all How can i change the status bar icon for my website Or The icon shown in user's Task Manager for the browser process fetching my website Thanks in Advance Alic
1
by: Patrick Olurotimi Ige | last post by:
I have an icon called favicon.ico that i created for a website and it WORKS but u have to first bookmark the page before u see the ICON in the URL instead of the IE icon! <link rel="shortcut...
2
by: letsgetsilly | last post by:
I'm developing the external corporate website for my company in Visual Studio 2003 using html, css, and a user web control for the header/navigation. When I try to print any of the pages only the...
0
by: BillE | last post by:
I am using Visual Studio 2005 to create a web site which includes reports. The web site has several sub-folders. When working with reports I can't get the website data sources (classes and...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.