#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    Luxembourg
    Posts
    89
    Rep Power
    14
    Hi

    On a perl-genrated web page, I am displaying a series of statements (associated with urls) and want to add the appropriate url of any selected (clicked) statement to a visitor's bookmarks/favorites.

    I get as far as identifying the correct url - but how do I then automatically write that URL and its description to bookmarks / favorites? (My client wants to save his visitors 1 whole mouse-click.....)

    Thanks in advance


    [This message has been edited by focus (edited July 31, 2000).]
  2. #2
  3. .Net Developer
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Location
    London
    Posts
    987
    Rep Power
    15
    focus,
    you can do the book marking in java script very easily.
    here is the code.

    <Script Language="JavaScript">
    function addbookmark()
    {
    addme="http://www.webshiju.com/";
    myname = "Shiju's Home";
    window.external.AddFavorite(addme, myname)
    }
    </Script>

    ----
    You can call the above function in page onLoad event or somewhere.
    ---




    ------------------
    SR -
    webshiju.com

    "The fear of the LORD is the beginning of knowledge..."
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Posts
    73
    Rep Power
    14
    The javascript code will only work with IE, for Netscape users, you need to tell them to manually press Ctrl-D to bookmark!


    ------------------
    http://new.123finder.com/ - Helps you find cool domains for FREE & Registers it for only $14.95/yr
    http://www.guideclick.com/ - Qualified webmaster resources (affiliate programs, web design, tips)

    ------
    Son

IMN logo majestic logo threadwatch logo seochat tools logo