473,545 Members | 529 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Website icon in JS?

Normally,
we use <link rel="Shortcut Icon" href="favicon.i co"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 1364
I.............. ............... ....I.......... ............... ............... ............... ......

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




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

don't know

哈哈

Cylix wrote:
Normally,
we use <link rel="Shortcut Icon" href="favicon.i co"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.i co"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.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Aug 10 '06 #3
Cylix <cy*******@gmai l.comwrote:
Normally,
we use <link rel="Shortcut Icon" href="favicon.i co"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
2613
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
1892
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 through OK, but wondered if anyone was interested in checking it out. http://www.aub-unison.org.uk/ Cheers, Colin.
0
1120
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
15915
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. Here is my problem: I have a javascript file called 'PMP/Scripts/Popups.js' (pmp is the root of the website). In that file is the following...
24
3782
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 address itself. Just about all websites that use said icons use one of these two methods (some use both even) to make them appear (in the code of a...
1
2629
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
1641
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 icon" href="favicon.ico"> But is it possible for users to see it without first Adding the page to the favorites!!... Any ideas..
2
3024
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 header image (an <img> located in the Web User control) and the footer (also <img>) will print, but none of the text, graphics, background colors, or...
0
3111
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 datasets in App_Code folders throughout the project) to behave consistently. Sometimes data source are displayed, sometimes not. Sometimes I can...
0
7465
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7398
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7656
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7752
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5969
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5325
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4944
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3441
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1878
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.