How to put icon by favorits

admin

Administrator
Staff member
Hello,

I have read that i have to put:

- an icon for example 'logo.ico' in the root and
- <link rel="shortcut icon" href=http://www.webdeveloper.com/forum/archive/index.php/"logo.ico"> in the head of the page

This is my script for the add to function:


<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
function addbookmark()
{
bookmarkurl="http://www.abc.com"
bookmarktitle="abc"
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}
// End -->
</script>

The script works but there is no icon in the favorits.

Where do i have to put'<link rel="shortcut icon" href=http://www.webdeveloper.com/forum/archive/index.php/"logo.ico">' inside or outside the javascript?

What did I wrong or forgot something?

Thanks,
Johan.
 
Back
Top