Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problems with favicon.ico

Status
Not open for further replies.

scuttleButt

Programmer
May 17, 2000
44
0
0
US
I am working with the "add this site to your favorites" and it works well on my computer. The problem I am having is some of the other computers it's not working, it's not adding the icon onto the favorites menu... all they get is the normal explorer e icon. Is there a problem with windows NT or 2000 maybe? That is what they have on their machines and mine is 98.

My code relating the icon to the site:
<LINK REL=&quot;SHORTCUT ICON&quot; HREF=&quot;favicon.ico&quot;>

My code for the link:
This works fine, the link goes in everytime on every machine, just the icon doesn't get there.

<SCRIPT>
<!--
if ((navigator.appVersion.indexOf(&quot;MSIE&quot;) > 0)&& (parseInt(navigator.appVersion) >= 4))
{var sText = &quot;<U><SPAN STYLE='color:blue;cursor:hand;font-size:8pt;font-family: Tahoma, Arial, Verdana, MS Sans Serif;'&quot;;
sText += &quot;onclick='window.external.AddFavorite(location.href,&quot;;
sText += &quot;document.title);'>Add MWTC to your favorites</SPAN></U>&quot;;
document.write(sText);
}
//-->
</SCRIPT>

I appreciate any suggestions

Thanks,
Donna
 
If you go to you will get better answers.

My thought is that these people are not using IE5.x. This is the only browser that this works in. It will not work in IE4, or NS4. I am not sure about NS6.
 
They have IE 5.5 on their computers. I went to favicon.com and it didn't tell me anything different. I guess I'll keep working on it. Thanks
 
I've had problems with using the favorite icon too. Sometimes it works, and sometimes it doesn't, even on the same machine! It also has a tendency to disappear every once in a while. I don't think MS thought this one through very well. It's a cute idea, but I wouldn't rely on it working. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Okay, I figured out the problem. We have a web server and from inside the network I can get to my site using http:// from out side the network you have to use https:// because port 80 is not visible to the outside world. My home page was still set on the http:// address when they switched to the http:// it worked and when I switched to the https:// it wouldn't work on my machine either. I guess the favorite icon doesn't work with ssl. FYI :eek:)

Donna
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top