Solved

icon in address bar

Posted on 2006-11-04
13
844 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

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…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

691 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