Friday, July 24, 2009

Creating Add to Favorites link through JavaScript

JavaScript function code:
function addfav()
{
if (document.all)
{
window.external.AddFavorite
("http://www.bprateek.blogspot.com","Prateek Tips")
}
}

from the link as:
Add To Favorites

No comments:

Post a Comment