outernationalist
10-29-2005, 09:26 PM
Heres what I'm using that won't work:
header-
<script type="text/javascript">
function bookmarksite(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}
</script>
url-
<a href="javascript:bookmarksite('document.title', 'self.location.href')">Bookmark this site!</a>
Nothing happens when I click it. It works when you put in a url and title, but not with that^
Anyone ever solve this?
header-
<script type="text/javascript">
function bookmarksite(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}
</script>
url-
<a href="javascript:bookmarksite('document.title', 'self.location.href')">Bookmark this site!</a>
Nothing happens when I click it. It works when you put in a url and title, but not with that^
Anyone ever solve this?