Solved

icon in address bar

Posted on 2006-11-04
13
812 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 142

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 142

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
 

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 142

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 142

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 142

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 142

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

895 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now