Pages

Subscribe:

Saturday, 13 August 2011

How to adding "bookmark" button on your page (javascript)

To increase  the number of visitors to your site, you can use this Bookmark script to help your visitors to find your site again.

Place the following in your <HEAD> tag of your html
Change the "var url address and var pagename".

<script 
language="JavaScript" type="Text/Javascript"><!-- // 
Hide script from older browsers 
// script by http://ankur-seo.blogspot.com/ 
var urlAddress = "http://ankur-seo.blogspot.com/"; 
var pageName = "Ankur"; function addToFavorites() { if (window.external) { window.external.AddFavorite(urlAddress,pageName) 
} else { alert("Sorry! Your browser doesn't support this function."); 
} } // --></script>

Then place this script between the <body> and </body> tags



<a href="javascript:addToFavorites()"><font color="#0000FF" 
face="Arial">Bookmark Page !</font></a>