Real Estate Forums

Coding HTML, ASP, PHP, JAVA MYSQL and more. All coding questions should be asked here.

Reply
 
Thread Tools Display Modes
Old 07-27-2007, 06:31 AM
Dave Kovaleski's Avatar
Dave Kovaleski Dave Kovaleski is offline
Real Estate Web Guru
 
Join Date: Jan 2007
Posts: 344
Dave Kovaleski is on a distinguished road
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
Pocono Homes
Lake Wallenpaupack Real Estate
Reply With Quote
Old 07-27-2007, 10:00 AM
jasoncrouch's Avatar
jasoncrouch jasoncrouch is offline
Exclusive member
 
Join Date: Apr 2004
Location: Austin, Texas area
Posts: 705
jasoncrouch is on a distinguished road
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>
__________________
Jason Crouch, Broker
Austin Texas Homes, LLC
512-796-7653 (cell)
Austin Real Estate
Austin Texas Real Estate
Austin Homes
Reply With Quote
Old 07-27-2007, 12:10 PM
Dave Kovaleski's Avatar
Dave Kovaleski Dave Kovaleski is offline
Real Estate Web Guru
 
Join Date: Jan 2007
Posts: 344
Dave Kovaleski is on a distinguished road
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
Pocono Homes
Lake Wallenpaupack Real Estate
Reply With Quote
Old 07-27-2007, 09:30 PM
RESynergy RESynergy is offline
Real Estate WebMaster
 
Join Date: Nov 2006
Posts: 109
RESynergy is on a distinguished road
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.
Reply With Quote
Old 07-28-2007, 04:13 PM
Dave Kovaleski's Avatar
Dave Kovaleski Dave Kovaleski is offline
Real Estate Web Guru
 
Join Date: Jan 2007
Posts: 344
Dave Kovaleski is on a distinguished road
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
Pocono Homes
Lake Wallenpaupack Real Estate
Reply With Quote
Old 07-28-2007, 09:47 PM
jasoncrouch's Avatar
jasoncrouch jasoncrouch is offline
Exclusive member
 
Join Date: Apr 2004
Location: Austin, Texas area
Posts: 705
jasoncrouch is on a distinguished road
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.
__________________
Jason Crouch, Broker
Austin Texas Homes, LLC
512-796-7653 (cell)
Austin Real Estate
Austin Texas Real Estate
Austin Homes
Reply With Quote
Old 07-29-2007, 05:25 AM
pcdoc's Avatar
pcdoc pcdoc is offline
Uber Real Estate Webmaster
 
Join Date: Sep 2005
Location: western North Carolina
Posts: 2,359
pcdoc will become famous soon enough
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 With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

For our members

Main Sections

IDX Coverage Areas

Spiders Welcome

All times are GMT -7. The time now is 05:20 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.