How can I set the browers icon?

G

Guest

I'd like to be able to control the icon presented in the upper left corner of
the browser dynamically, based upon the page I'm serving. Is there a way to
do this?
 
G

Guest

Thank you for the feedback; however, this does not address the issue. If
somebody makes a request, via their browser, to my site,
www.foo.com/page.aspx, I want to be able to specify the icon in the
upper-left corner of the browser (in IE, it's the blue 'e' on a white page).
Ideally, I'd like to do this as part of the Page_Load method in the page that
is serving the request.
 
M

Mark Fitzpatrick

You can't. The only time IE will allow that is when you have bookmarked the
site in some fashion. Then it will add the favorite icon. There is no way to
do it in code and no way to force IE to do it. Also, whenever the cache is
cleaned out the icon will be removed, regardless of whether or not the page
is still bookmarked.

For FireFox or Opera you can show an icon, but you have to follow the
examples that were provided by ThunderMusic. You can change the link
reference through code to generate the correct icon, but you have to follow
the format in the examples.
 
G

Guest

I must not be explaining myself. I don't care about setting icons in the
favorites list or in the address bar. I want to set the icon that is display
on the left side of the title bar; that is, the application icon for the
browser. Just like I can set the text that's displayed in the title bar, I'd
like to set the icon that's displayed in the title bar. Is that possible?
 
M

Mark Fitzpatrick

Ok. Now I get it. I think the reason nobody got it exactly is nobody has
ever asked that one. There isn't anything you can do to change that icon. It
is the applicaiton icon as defined by the application. Just like Word will
have it's own icon there, Outlook, FireFox, etc., that's part of the
application itself and you're not going to get it changed through code
without altering the desktop icon settings and that required more privaleged
access (if possible, I think it can be done but for IE it would probably
have to be done through something like the IE administration kit or the
registry).
 
K

krishnareddy yerram

Hi,

Use IE 7.0.

Place following code in your header.
<link rel="shortcut icon" href="images/Logo.ico" type="image/x-icon" />
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top