May 28, 2006

Add a "Bookmark this Page" Script

This script when pasted into your Blogger template's s sidebar will create a link that automatically opens explorers "Favorites" dialog box and enters your URL and site name for your visitor to bookmark. In Firefox, Netscape and Opera browers it will display "Bookmark Us! (Ctrl+D). Although its easy enough for a visitor to click on the favorites tab and do this himself. The link will serve as a reminder for them to bookmark your page which will increase your sites repeat traffic.
You will have to change the blogatech address and name which are the text shown in red to that of your site.(be sure to leave the quotation marks as they are.)


// (C) 2000
// Free for all users, but leave in this header

// message to show in non-IE browsers
var txt = "Bookmark Us!"

// url you wish to have bookmarked
var url = "";

// caption to appear with bookmark
var who = "Blogatech"

// do not edit below this line
// ===========================

var ver = navigator.appName
var num = parseInt(navigator.appVersion)
if ((ver == "Microsoft Internet Explorer")&&(num >= 4)) {
document.write('<A HREF="javascript:window.external.AddFavorite(url,who);" ');
document.write('onMouseOver=" window.status=')
document.write("txt; return true ")
document.write('"onMouseOut=" window.status=')
document.write("' '; return true ")
document.write('">'+ txt + '</a>')
txt += " (Ctrl+D)"