PDA

View Full Version : Looking for bookmark script for netscape



ztaste
06-13-2006, 04:22 PM
Hi I like to have netscape users be able to bookmark my website. I only find IE SCRIPTS. NETSCAPE DOES NOT SUPPORT EXTERNAL WINDOW. THANKS

dmitryseliv
06-14-2006, 07:36 PM
<script>
// ADD TO BOOKMARK CROSSBROWSER

function addBookmark(title,url) {
url="http://www.yourdomain.com"
title="Web Site Name"
if (window.sidebar) {
window.sidebar.addPanel(title, url,"");
} else if( document.all ) {
window.external.AddFavorite( url, title);
} else if( window.opera && window.print ) {
return true;
}
}
//
</script>
<a href="javascript:addBookmark()">Bookmark</a>

Cheers,DS