cialis online pharmacy generic xenical cheap cialis online cialis generic viagra online in canada buy cheap levitra online cialis without a perscription order viagra uk no prescription flagyl cheap generic levitra buying viagra in the uk cheap viagra approved cialis deltasone online buy viagra online without prescription non prescription cialis buy orlistat uk buy cialis in india prednisone 60 mg female viagra online buy viagra without prescription celebrex prescriptions buy cialis canada best prices viagra alternative to prednisone cheapest generic levitra levitra 5mg cheap viagra cialis on line buy xenical without prescription online accutane canadian health care prednisone no prescreption viagra online generic female viagra europe buy cialis low price cheap india viagra

How To Create A Custom Pinterest “Pin It” Button For Your Website

Libby Fisher came up with this nice code snippet and shared it on ICode4You, which I thought would also be worth sharing here on Blogfreakz. It’s a JavaScript code that lets you create a “Pin It” button using a custom graphic for your website. Copy it and enjoy sharing your favorite images in Pinterest!

<div>
<a href=”javascript:void((function(){var%20e=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)})());”> <img src=”images/pinit.jpg” alt=”Pin It” /></a>
</div>

Be sure that you change the path to the image in the code above so that it will point to the graphic that you want to use for the “Pin It” button. Also, you can substitute the text for the graphic if you want.

Related Posts

Pinbin Pinned Responsive WordPress Theme

Adding Instagram Badges to Your WordPress Profile

How to Create a Custom WordPress Registration Form with Flat UI

How to Create A Basic Hipster-Style Layout

1 Comment

  1. Lakshmi Balu

    08.14.2012

    That code is a real goody I think. You have made it so easy for the non coders. Thanks a ton!