+ Reply to Thread
Results 1 to 7 of 7

Thread: Book Mark this site

  1. #1
    Join Date
    Jan 2007
    Location
    Poconos of Pennsylvania
    Posts
    416

    Default Book Mark this site

    Can anyone tell me the code for a "bookmark this site button"? Thanks!
    Dave Kovaleski REALTOR
    Pocono Pennsylvania Real Estate Agent
    Pocono Real Estate
    Hideout Real Estate
    Lake Wallenpaupack Real Estate

  2. #2
    Join Date
    Apr 2004
    Location
    Austin, Texas area
    Posts
    705

    Default Re: Book Mark this site

    I am using this on my site right now. It's not actually a button, but it will give you a basic script to use (it makes a link that says "BOOKMARK"):

    <a href="javascript:window.external.AddFavorite('http ://www.austintexashomes.com/','Austin%20Realtors%20-%20AustinTexasHomes.com')">BOOKMARK</a>

  3. #3
    Join Date
    Jan 2007
    Location
    Poconos of Pennsylvania
    Posts
    416

    Default Re: Book Mark this site

    Hmm I get Error on Page wiht this:

    <a href="javascript:window.external.AddFavorite('http ://www.poconohomesource.com/','Pocono%20Real Estate%20-%20PoconoHomeSource.com')">Bookmark This Site</a>
    Dave Kovaleski REALTOR
    Pocono Pennsylvania Real Estate Agent
    Pocono Real Estate
    Hideout Real Estate
    Lake Wallenpaupack Real Estate

  4. #4
    Join Date
    Nov 2006
    Posts
    109

    Default Re: Book Mark this site

    It's been awhile since I worked on it, but it used to be a difference between IE and Firefox too. They each need their own link. Firefox will post the link automatically, I think but the user has to enter it and click a few more times in IE.

  5. #5
    Join Date
    Jan 2007
    Location
    Poconos of Pennsylvania
    Posts
    416

    Default Re: Book Mark this site

    Just found this in another thread, works like a charm.

    <a href="javascript:var succeeded = false; if (document.all) { window.external.AddFavorite('http://www.yourdomain.com/', 'Bookmark Name'); succeeded = true; } else if (window.sidebar) { succeeded = window.sidebar.addPanel('Bookmark Name', 'http://www.yourdomain.com/', ''); } if (succeeded) alert('Bookmark added!'); else alert('Error adding bookmark!');">Some text or perhaps an image tag saying "bookmark this site!"</a>
    Dave Kovaleski REALTOR
    Pocono Pennsylvania Real Estate Agent
    Pocono Real Estate
    Hideout Real Estate
    Lake Wallenpaupack Real Estate

  6. #6
    Join Date
    Apr 2004
    Location
    Austin, Texas area
    Posts
    705

    Default Re: Book Mark this site

    It looks like I somehow accidentally added a space on my post between the : and the //. Sorry about that. I'm glad you found something suitable.

  7. #7
    Join Date
    Sep 2005
    Location
    western North Carolina
    Posts
    2,355

    Default Re: Book Mark this site

    place just before </head>

    <script type="text/javascript">
    function bookmarksite(title, url){
    if (document.all)
    window.external.AddFavorite(url, title);
    else if (window.sidebar)
    window.sidebar.addPanel(title, url, "")}
    </script>

    then call the script from a link; e.g.,

    <a href="javascript:bookmarksite('this will appear as the bookmark title', 'http://www.URLtobebookmarked.com')"></a>


    1stPageSEO.com . Reverse Mortgage Lenders . Lake James Waterfront Home
    Contact us for fast, efficient and cost-effective web design, content
    creation, search engine optimization, blog design and maintenance.


+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts