We help IT Professionals succeed at work.

icon in address bar

shwaqar82
shwaqar82 asked
on
Medium Priority
929 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.
Comment
Watch Question

Guy Hengel [angelIII / a3]Billing Engineer
CERTIFIED EXPERT
Most Valuable Expert 2014
Top Expert 2009

Commented:
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

Author

Commented:
do i have to do it through coding or .........??
Guy Hengel [angelIII / a3]Billing Engineer
CERTIFIED EXPERT
Most Valuable Expert 2014
Top Expert 2009

Commented:
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">

Author

Commented:
favicon.ico.......where to get that file........is that different than the icon i need to show in address bar
Guy Hengel [angelIII / a3]Billing Engineer
CERTIFIED EXPERT
Most Valuable Expert 2014
Top Expert 2009

Commented:
>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...

Author

Commented:
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.
Guy Hengel [angelIII / a3]Billing Engineer
CERTIFIED EXPERT
Most Valuable Expert 2014
Top Expert 2009

Commented:
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.

Author

Commented:
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
Billing Engineer
CERTIFIED EXPERT
Most Valuable Expert 2014
Top Expert 2009
Commented:
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

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
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">

Author

Commented:
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
Guy Hengel [angelIII / a3]Billing Engineer
CERTIFIED EXPERT
Most Valuable Expert 2014
Top Expert 2009

Commented:
I guess the www is too much:
<LINK REL="SHORTCUT ICON" HREF="http://192.168.0.29/favicon.ico">

Author

Commented:
its not working still
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.