Solved

icon in address bar

Posted on 2006-11-04
13
832 Views
Last Modified: 2010-08-05
Hi Experts

I have a very little and small question i think here. I need to know how can i make an icon to appear in address bar when any visitor type in our url in address bar.
0
Comment
Question by:shwaqar82
  • 7
  • 6
13 Comments
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 17874017
this feature is independant of the ASP.NET, but rather requires the correct browser support.
http://www.4guysfromrolla.com/webtech/tips/t120699-1.shtml
http://msdn.microsoft.com/workshop/Author/dhtml/howto/ShortcutIcon.asp
0
 

Author Comment

by:shwaqar82
ID: 17874020
do i have to do it through coding or .........??
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 17874029
no. simply put the favicon.ico file in the web server root, and add the following line into your html files, ie into the <HEAD> section of them:
<LINK REL="SHORTCUT ICON" HREF="http://www.mydomain.com/myicon.ico">
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 

Author Comment

by:shwaqar82
ID: 17874040
favicon.ico.......where to get that file........is that different than the icon i need to show in address bar
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 17874051
>favicon.ico.......where to get that file........
you have to create that file, using an Icon Editor program (a picture editor that can save files in .ico format)

>is that different than the icon i need to show in address bar
I don't understand that question?
the icon file you specify in the LINK REL ... line has to have the same name as the file you actually created...
0
 

Author Comment

by:shwaqar82
ID: 17874066
okie
favicon.ico......it is a image file having ico extension. Is that favicon.ico is the file that shows up on address bar

Im confused coz u used 2 diferent ico filein your post Date: 11/04/2006 10:53AM PST

i askin u if favicon.ico and myicon.ico is the same file or not.
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 17874076
sorry... the same LINK REL indeed was copied from a sample that used myicon.ico... replace that with favicon.ico , and indeed the favicon.ico will the image file that appears in the address bar.
0
 

Author Comment

by:shwaqar82
ID: 17874178
that all i want ... cool man ...i cant check this thing in working condition now as im not in ofice. I willgive you your points whenever i make it work for me. The other thing........is that possible to make an animated favicon.ico........???

And the last thing is ...is there any way i can scroll the TITLE of the html page
0
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 125 total points
ID: 17874400
animated favicon seems to work, but only in firefox, see here:
http://myvogonpoetry.com/wp/2005/10/10/animated-favicons/

scrolling title can also work using javascript:
http://www.hscripts.com/scripts/JavaScript/title-scrol.php
0
 

Author Comment

by:shwaqar82
ID: 17880906
hi

now im in office and i tried to do it. I have 16X16 pix favicon.ico file in the web root directory. and i have following code in the head section of my default page
<LINK REL="SHORTCUT ICON" HREF="http://www.192.168.0.29/favicon.ico">
0
 

Author Comment

by:shwaqar82
ID: 17880912
its not showing any kind of icon in the address bar nor it show any short cut icon when i save it in my favorites
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 17881782
I guess the www is too much:
<LINK REL="SHORTCUT ICON" HREF="http://192.168.0.29/favicon.ico">
0
 

Author Comment

by:shwaqar82
ID: 17883483
its not working still
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question