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 Marcin Kozub 275
1 OriginalGriff 264
2 Sergey Alexandrovich Kryukov 215
3 Praneet Nadkar 197
4 Richard MacCutchan 182
0 OriginalGriff 8,048
1 Sergey Alexandrovich Kryukov 7,287
2 DamithSL 5,614
3 Manas Bhardwaj 4,986
4 Maciej Los 4,910


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.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