Pages

Thursday, August 16, 2012

Add Pinterest "Pin It" Counter Button To Blogger

<a class='pin-it-button' count-layout='horizontal' expr:href='&quot;http://pinterest.com/pin/create/button/?url=&quot; + data:post.url'>Pin It Now!</a>
<a href='javascript:void(run_pinmarklet())' style='margin-left:-93px; width:43px; height:20px; display:inline-block;'/>
<script src='http://assets.pinterest.com/js/pinit.js' type='text/javascript'/>
<script type='text/javascript'>
function run_pinmarklet() {
var e=document.createElement('script'); e.setAttribute('type','text/javascript');
e.setAttribute('charset','UTF-8');
e.setAttribute('src','http://assets.pinterest.com/js/pinmarklet.js?r=' + Math.random()*99999999);
document.body.appendChild(e);
}
</script>

2 comments:

  1. This is really very nice posting in this blog. I had really liked the stuff very much.
    The information was very cordial. Thanks!
    Windows Live Messenger

    ReplyDelete
    Replies
    1. Hi,

      Thanks for your first comment.

      We will keep updating our blog with latest changes in drupal. Keep visiting the blog or post any question you have so we can find the best possible solution for the problems..

      Delete

Thanks for your comment.