A
arno
Hello,
I have a javascript that should add my url to the favorites. This is
working, however, the icon defined does not show up in favorites. What's
wrong here?
this is what I have in the <head>:
<link rel="shortcut icon" href="http://www.myurl.net/test.ico">
<script language="JavaScript1.2">
var bookmarkurl=http://www.myurl.net
var bookmarktitle="My Homepage"
function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}
</script>
in the <body> I call the script:
<a href="javascript:addbookmark()">add this page to favorites</a>
Any hint would be greatly appreciated.
arno
I have a javascript that should add my url to the favorites. This is
working, however, the icon defined does not show up in favorites. What's
wrong here?
this is what I have in the <head>:
<link rel="shortcut icon" href="http://www.myurl.net/test.ico">
<script language="JavaScript1.2">
var bookmarkurl=http://www.myurl.net
var bookmarktitle="My Homepage"
function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}
</script>
in the <body> I call the script:
<a href="javascript:addbookmark()">add this page to favorites</a>
Any hint would be greatly appreciated.
arno