View Full Version : Icons in favourites folder..
I'm using IE5 and some sites (like here, the forums) have a different icon in place of the bog standard E on the little white page... anyone got any idea how the hell you do them ? ta very.
^7th^
lo m8y
the first thing you need to do is find an icon you like, i have a smily face for mine. it needs to be put in the root folder of your site, ie. the same place as index.html (or whatever you use as the default page)
this file needs to be called favicon.ico
this should then add this icon next to your site name when someone bookmarks your site :)
you can also use this code to add a clickable link which will allow the user to bookmark your site...
<script>
<!--
if ((navigator.appVersion.indexOf("MSIE") > 0)
&& (parseInt(navigator.appVersion) >= 4)) {
document.write("<U><SPAN STYLE='color:black;cursor:hand;'onclick='window.external.AddFavor ite(location.href, document.title);'>Bookmark This Site</SPAN></U>");
}
//-->
</script>
hope this helps :E
Ah excellent :) you sir, are an absolute genius :D
Thanks once more :)
^7th^
Gwil Da Skank Of TA
09-08-2000, 00:06
ho hum. only iE5 supports em though
i have a proggy called bitmap to icon so u can make bitmap icons and the make em into proper icons if u want it...
icq me 66311789 if u do
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.