Jump to content

"Bookmark this Page" link


daddyalfie

Recommended Posts

You can do "bookmark this" functionality using just Javascript:

 

<a href="javascript:if(document.all)window.external.AddFavorite(location.href,document.title);else if(window.sidebar)window.sidebar.addPanel(document.title,location.href,'');">Bookmark this page</a>

Otherwise, there are always services like AddThis that I have used in the past, in case they want social media services as well.

Link to comment
Share on other sites

You can do "bookmark this" functionality using just Javascript:

 

<a href="javascript:window.external.AddFavorite('http://www.Your-Website.com/','Name Of The Bookmark')">Bookmark This Page</a>

Otherwise, there are always services like AddThis that I have used in the past, in case they want social media services as well.

 

HMM! I copy/pasted your code into my index page using chimneyrockinn.net for the "Your-website" and Chimney Rock Inn, NC for the "Name Of The Bookmark". When I tried to click on the link, nothing happened. But that is not too surprising as I was viewing the site off of my home computer.

 

Should this work if I post it on the net? In other words did I use your code correctly?

 

(I am more than a little ignorant about javascript!)

 

Thanks again!

 

Alfie

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...