Problem in Facebook Share Dialog

Posted by Honeyjoshy under ASP.NET on 2/18/2011 | Points: 10 | Views : 2303 | Status : [Member] | Replies : 2
I am new in developing a Facebook application. I have created an application in facebook where I have to share one of my web pages. I have used the facebook share button and I'm able to get the share dialog as a popup window. Actually what I want is to view the share dialog as a 'dialog' ,not as a window popup.
This is code what I have used.
<script type="text/javascript">
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="fbShare"></a></

Can anyone help me on this issue. Thanking You in advance.




Responses

Posted by: Prabhakar on: 2/22/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi Honeyjoshy,

what u want i am little bit confuse. you want to share with dialog box . is it also window type . say ur full requirement . .

Best Regard's
Prabhakar

Honeyjoshy, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naimishforu on: 2/23/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
not clear req.

Thanks,
Naimish
http://dotnetinterview.zxq.net/
http://naimishpandya.blogspot.in/

Honeyjoshy, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response