Posted By

dottDesign on 04/29/10


javascript textmate facebook

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Post to Facebook

 / Published in: Other

  1. <!-- share button -->
  2. <script type="text/javascript">// <![CDATA[
  3. function fbs_click() {u='<data:post.url>';t='<data:post.title>';''+encodeURIComponent(u)+'&amp;t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');return false;}
  4. // ]]></script>
  5. <style><!--
  6. html .fb_share_button { display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; height:15px; border:1px solid #d8dfea; background:url( no-repeat top right; } html .fb_share_button:hover { color:#fff; border-color:#295582; background:#3b5998 url( no-repeat top right; text-decoration:none; }
  7. --></style>
  8. <a expr:href="&quot;; + data:post.url" class="fb_share_button" style="text-decoration: none;" onclick="return fbs_click()" target="_blank">Share</a>

Report this snippet  

You need to login to post a comment.