/ Published in: JavaScript

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<script> function fbs_click(u,t) { 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; } </script> <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
Comments
