Sunday, June 24, 2012

Javascript to bookmark your page


<script language="javascript">
function addBookmark()
{
bookmarkurl = "http://www.tildemark.com";
bookmarktitle="Tildemark blogs";
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
else if ( window.sidebar ) {
window.sidebar.addPanel(bookmarktitle, bookmarkurl,"");
}
}
</script>


<a href="javascript:addBookmark();">Bookmark this page!</a>

No comments:

Post a Comment

Please mention your comments.......