How to add a "Bookmark This" link?

Discussion in 'Java Script/AJAX' started by johnfrey, Aug 3, 2009.

Remove these ads by signing in
Remove these ads by signing in
Thread Status:
Not open for further replies.
  1. johnfrey New Member

    Member Since:
    Jul 17, 2009
    Message Count:
    3
    Likes Received:
    0
    This code helps you to add the current webpage to the browser's favorite pages section.

    HTML:
    <a href="#" rel="sidebar" onclick="if(document.all && !window.opera){ window.external.AddFavorite(location.href, document.title); return false; } else{ this.title = document.title; }">Add to bookmarks</a>
Thread Status:
Not open for further replies.

Share This Page