+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: How do I create “Bookmark This Site” on my webpage?

  1. #1
    Join Date
    Apr 2007
    Posts
    170

    Default How do I create “Bookmark This Site” on my webpage?

    I would like to give viewers an easy option to automatically bookmark my site during their visit. What is the code and how do I do it?

    Thanks
    Granda Metz
    Majestic Realty, Park City, UT
    www.grandametz.com
    www.traverseridge.com

  2. #2
    Join Date
    Jul 2007
    Location
    Fullerton
    Posts
    1,588

    Default Re: How do I create “Bookmark This Site” on my webpage?

    awesome question!
    Greg Haraksin, Prudential CA Realty.
    Serving buyers and sellers of Yorba Linda Homes, Fullerton Homes, Brea Homes, and North Orange County, CA .

  3. #3

    Default Re: How do I create “Bookmark This Site” on my webpage?

    Add this between your <head> </head> tags:

    <script language="JavaScript" >
    // script by http://www.yourwebsite.com
    var urlAddress = "http://www.yourwebsite.com";
    var pageName = "yourwebsite.com - Your page name here";
    function addToFavorites() {
    if (window.external) { window.external.AddFavorite(urlAddress,pageName)}
    else { alert("Sorry! Your browser doesn't support this feature.");}
    }
    </script>

    Place this in your <body> somewhere:

    <a href="javascript:addToFavorites()">Click To Bookmark This Page !</a>

    Change yourwebsite to whatever url you want to bookmark.
    Panama City Homes for Sale, Panama City Real Estate and Panama City Beach Condos

    The Panama City Real Estate Team at Keller Williams Success Realty - Your source for Panama City real estate sales, services and information. For additional information on Panama City and Panama City Beach Real Estate, contact me or visit our website.

  4. #4
    Join Date
    Jan 2007
    Location
    Southampton, PA
    Posts
    1,043

    Default Re: How do I create “Bookmark This Site” on my webpage?

    or you can do something like this anywhere on the page:

    <a href="javascript:window.external.AddFavorite('http ://www.yoursite.com', 'Search my city Real Estate');">
    <img src="http://picture/house.gif"> Add this Page to your
    Favorites</a>
    Russell Volk, REALTOR®/Partner
    Scope Real Estate
    Feasterville, PA
    Bucks County Real Estate | Bucks County Real Estate Blog | Doylestown, PA Real Estate.

  5. #5

    Default Re: How do I create “Bookmark This Site” on my webpage?

    Quote Originally Posted by rvolk75 View Post
    or you can do something like this anywhere on the page:

    <a href="javascript:window.external.AddFavorite('http ://www.yoursite.com', 'Search my city Real Estate');">
    <img src="http://picture/house.gif"> Add this Page to your
    Favorites</a>
    Nice one, definately an easier method and doesn't require access to the <head> tag. But the above doesn't work on my site, I think it's because of the semi colon. This does however work (I've removed the img):

    <a href="javascript:window.external.AddFavorite('http ://www.mysite.com','Favorites text')">Bookmark Us</a>
    Panama City Homes for Sale, Panama City Real Estate and Panama City Beach Condos

    The Panama City Real Estate Team at Keller Williams Success Realty - Your source for Panama City real estate sales, services and information. For additional information on Panama City and Panama City Beach Real Estate, contact me or visit our website.

  6. #6
    Join Date
    Jan 2007
    Location
    Southampton, PA
    Posts
    1,043

    Default Re: How do I create “Bookmark This Site” on my webpage?

    It should work with the image. That's how I have it setup. Maybe the img tag just needs to be closed.
    Russell Volk, REALTOR®/Partner
    Scope Real Estate
    Feasterville, PA
    Bucks County Real Estate | Bucks County Real Estate Blog | Doylestown, PA Real Estate.

  7. #7
    Join Date
    Apr 2007
    Posts
    170

    Default Re: How do I create “Bookmark This Site” on my webpage?

    I cant get the picture to work...Any suggestions???
    Granda Metz
    Majestic Realty, Park City, UT
    www.grandametz.com
    www.traverseridge.com

  8. #8
    Join Date
    Apr 2006
    Posts
    211

    Default Re: How do I create “Bookmark This Site” on my webpage?

    Yes. Your site is built with PHP.

    Use jessiesc's suggestion and put the function in the header. Backslash any full quotes (\").

    Backslash any full quotes wherever you put it into the page also like so:
    <a href=\"javascript:window.external.AddFavorite('htt p ://www.mysite.com','Favorites text')\">Bookmark Us</a>

    Then it'll work fine. Try it on a test page if you think you'll have problems until it functions properly, then transplant it.

  9. #9
    Join Date
    Apr 2007
    Posts
    170

    Default Re: How do I create “Bookmark This Site” on my webpage?

    Still not working...
    Granda Metz
    Majestic Realty, Park City, UT
    www.grandametz.com
    www.traverseridge.com

  10. #10

    Default Re: How do I create “Bookmark This Site” on my webpage?

    Quote Originally Posted by howard11792 View Post
    Still not working...
    Where is the link? I don't see it on your site.
    Panama City Homes for Sale, Panama City Real Estate and Panama City Beach Condos

    The Panama City Real Estate Team at Keller Williams Success Realty - Your source for Panama City real estate sales, services and information. For additional information on Panama City and Panama City Beach Real Estate, contact me or visit our website.

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Posting Permissions

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