Solved

icon in address bar

Posted on 2006-11-04
13
797 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

AJAX ModalPopupExtender has a required property "TargetControlID" which may seem to be very confusing to new users. It means the server control that will be extended by the ModalPopup, for instance, if when you click a button, a ModalPopup displays,…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

757 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

22 Experts available now in Live!

Get 1:1 Help Now