How to add a "Bookmark This" link?

Discussion in 'JavaScript' started by SaifKhan, Aug 3, 2009.

  1. #1
    This code helps you to add the current webpage to the browser's favorite pages section.


    <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>
    HTML:
     
    SaifKhan, Aug 3, 2009 IP
  2. johnambaram

    johnambaram Member

    Messages:
    206
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #2
    hey i could not understand..i tried to bookmark but could not.can you help me??
     
    johnambaram, Aug 3, 2009 IP
  3. Unni krishnan

    Unni krishnan Peon

    Messages:
    237
    Likes Received:
    9
    Best Answers:
    2
    Trophy Points:
    0
    #3
    Unni krishnan, Aug 3, 2009 IP