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>

1 comment:

Demian Martin said...

Are you looking for a web app developed for your new business? If you’re worried about which framework should be selected? Then, Laravel is the best option for you

Here you go : software development company in surat

Post a Comment