Favicon help needed

admin

Administrator
Staff member
I've added a favicon to my site (<!-- m --><a class="postlink" href="http://lazyape.filetap.com/">http://lazyape.filetap.com/</a><!-- m -->) which works fine if you add it to favourites the normal way, but I have some JavaScript code on a couple of pages with a link, which when you click it bookmarks the site (much easier). The favicon is never saved if the site is bookmarked this way. Does anyone have any ideas how to fix this?? <br />
<br />
This is the code: <br />
<br />
<script language="JavaScript"> <br />
<br />
<!-- Begin <br />
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) { <br />
<br />
var url="http://www.YOURSITE.com"; <br />
var title="YOURSITE"; <br />
<br />
document.write('<A HREF=http://www.webdeveloper.com/forum/archive/index.php/"java script:window.ext'); <br />
document.write('ernal.AddFavorite(url,title);" '); <br />
document.write('onMouseOver=" window.status='); <br />
document.write("'Add YOURSITE to your favorites!'; return true "); <br />
document.write('"onMouseOut=" window.status='); <br />
document.write("' '; return true "); <br />
document.write('"><font size="2" face="Arial, Helvetica, sans-serif"> Bookmark our Site!</a></font>'); <br />
} <br />
else { <br />
var msg = "Bookmark our site!"; <br />
if(navigator.appName == "Netscape") msg += " Press CTRL+D keys"; <br />
document.write(msg); <br />
} <br />
<br />
// End --> <br />
<br />
</script> <br />
<br />
Thanks for your help.<!--content-->you could try <!-- m --><a class="postlink" href="http://www.favicon.com">http://www.favicon.com</a><!-- m --><!--content-->
 
Back
Top