Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Java struts
<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.
 
<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 19-Jun-13 20:59pm
Comments
Shubhashish_Mandal at 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)

  Print Answers RSS
0 DamithSL 320
1 Sergey Alexandrovich Kryukov 222
2 OriginalGriff 155
3 Peter Leow 115
4 Afzaal Ahmad Zeeshan 114
0 OriginalGriff 7,510
1 DamithSL 5,519
2 Sergey Alexandrovich Kryukov 5,044
3 Maciej Los 4,961
4 Kornfeld Eliyahu Peter 4,514


Advertise | Privacy | Mobile
Web03 | 2.8.141223.1 | Last Updated 20 Jun 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100