Adding a Shortcut Icon in the Browsers Address Bar

Contributed by
Rating: 2 stars2 stars2 stars2 stars2 stars / 19
December 11, 1999
Rate this Article:
MEH MEH++


SEARCH ASP FREE
TOOLS YOU CAN USE

advertisement
Ever wonder how some websites are able to place shortcut images inside the Browsers Address bar, the Favorite menu or as an icon on your desktop? Internet Explorer 5 allows for the placement of an image in the address bar. This is a very good to distinguish your website from others. The image that you'll ultimately be displaying as a shortcut on a PC will have the arrow in the lower left hand corner and will be displayed much smaller in the address bar than in the image editor you choose. 

The image must be in .ico (Windows Icon) format. You can download several apps that will allow you to save in the .ico format. check out
Winfiles.com or Download.com to get a program that allows this. Once you create your image in .ico format, you're ready to display it online. Make sure you add the following code with-in the head tags on your webpage. Few things to keep in mind, this technique only works in IE 5.0 and Images don't always show up in the address bar until a page from that url has been saved locally on your PC and sometimes do not appear until after re-start.  Here are a couple of ways


Option #1 and the easiest! 

Put an icon named favicon.ico in any directory where you want to the icon to show up in IE5 in the address bar
and the favorites. Thanks Keith A...



Option #2


The working script at ASPFree.com looks like this






The working script at ASPFree.com looks like this
HREF="http://www.aspfree.com/aspfree.ico">

blog comments powered by Disqus
ASP CODE ARTICLES

- ASP Forms
- ASP: The Beginning
- Getting Remote Files With ASP Continued
- Inbox and Outbox Manipulation in ASP
- Relational DropDownList Using VB.NET
- Ad Tracking URL Hits
- Use ViewState to display one record per page...
- Send Email using ASP.NET formatted in HTML
- ASP File Explorer
- ASP/XML Interview questions by Srivatsan Sri...
- Pressing RETURN won't submit the form
- This shows how you get the TEXT of a combo r...
- Group Data by Adrian Forbes
- Multiple checkbox select sample
- Multiple checkbox select with all values sam...

ASP Web Hosting ASP.Net Web Hosting Windows Web Hosting
 
 
 

ASP Free Forums 
 RSS  Tutorials RSS
 RSS  Forums RSS
 RSS  All Feeds
Site Map 
Request Media Kit
Write For Us Get Paid 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Privacy Policy 
Support 


© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 11 - Follow our Sitemap
Most Popular Topics
All ASP.Net Tutorials