I got one example from Google below:
Java script code:
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;
}
Html Code:
<a href="http://www.facebook.com/share.php?u=<url>" onclick="return fbs_click()" target="_blank">Share on Facebook</a>
My coding:
I want to transfer the images url to two locations. I did one location for playing video, but another location to social image. I used on the nested repeater for image slider, when the user click on the image, then t ...
Go to the complete details ...