Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
<td style="padding:10px" class="facts"><%=factContent%> <%=factId%> </td>
factContent is description want to desplay when share.
factID - is fact id which I am going to share.


XML
<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=http://www.rajinitruths.com/newFacts.do?iPageNo=<%=factId%>&<%=factContent%>>" title="<%=factContent%>" onclick="return fbs_click()" target="_blank">
   <img src="http://digitalshoebox.ca/wp-content/uploads/2013/01/Facebook-Share-Button.png" height="20" width="40"/>
 </a>
Posted
Comments
Shubhashish_Mandal 20-Jun-13 2:23am    
Need more information what exactly you want to do.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900