Can anyone tell me the code for a "bookmark this site button"? Thanks!
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
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>
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
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.
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
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.
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.
© Copyright Real Estate Webmasters 2004-2010, All Rights Reserved. Terms of Service