Wondering how people can bookmark your site just by clicking a link you can put on your site? Ok, first you must put these codes on your header;
<script language="JavaScript1.2">
function addBookmark(title,url) {
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>
And then all you have to do is to put these as link code;
<a href=”javascript:addBookmark(’SITE-NAME’, ‘SITE-URL’)” title=”Add me on your favorites”>BOOKMARK THE SITE!</a>
Comment?
»
Leave a comment
ajwa . Naj . Wawa . 26 . 











