Share on Facebook


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <script>
  2. function fbs_click(u,t) {
  3. window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');return false;
  4. }
  5. </script>
  6.  
  7.  
  8. <a href="http://www.facebook.com/share.php?u=<url>" onclick="return fbs_click('http://www.google.com/', 'Google')" target="_blank">Share on Facebook</a>

URL: http://www.bloganol.com/2008/08/add-share-on-facebook-link-and-buttons-on-your-blog.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.