Re: add link to favorites
In any case, it seems to be a Microsoft specific (one more), which only works with Internet Explorer
Re: add link to favorites
"Window.external.addfavorite" does not work with IE7! It is sad indeed!
Re: add link to favorites
<html>
<head>
<- START OF SCRIPT FAVORITES ->
<script type="text/javascript">
function favorites (title, url) {
if (window.sidebar) {window.sidebar.addPanel (title, url, "");} // Firefox
else if (window.opera && window.print)
{// Opera
var item = document.createElement ('a');
item.setAttribute ('href', url);
item.setAttribute ('title', title);
item.setAttribute ('rel', 'sidebar');
item.click ();
}
else if (window.external) // ie other than IE7
{
window.external.AddFavorite (url, title);
}
}
</script>
<- END OF SCRIPT FAVORITES ->
</head>
<body>
<a href="javascript:favorites('put here the name of the site','put here the URL of the site')">
<img src="favorites.gif" width="20" height="17" ALIGN="middle" title="Add [site name] To Favorites" border="0">
</a>
</body>
</html>