How to request with ajax the facebook share page.. and I want to show in a DIV The result which is come
Normally When I clicked the facebook share button It opening new window. But I dont want to do this.. I want open new div with the result How can I do?
or this code do facebook shareing
But With new window Can you guys convert new DIV
Normally When I clicked the facebook share button It opening new window. But I dont want to do this.. I want open new div with the result How can I do?
or this code do facebook shareing
Code:
<script>function fbs_click() {u=location.href;t=document.title;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><style> html .fb_share_link { padding:2px 0 0 20px; height:16px; background:url(http://static.ak.facebook.com/images/share/facebook_share_icon.gif?6:26981) no-repeat top left; }</style><a rel="nofollow" href="http://www.facebook.com/share.php?u=<;url>" onclick="return fbs_click()" target="_blank" class="fb_share_link">Facebook'ta paylaş</a>