2013-12-23 45 views
0

我想添加一個自定義pinterest鏈接到我的網站。Pinterest定製圖像共享列表

widget builder

<a href="javascript:void((function()%7Bvar%20e=document.createElement(&apos;script&apos;);e.setAttribute(&apos;type&apos;,&apos;text/javascript&apos;);e.setAttribute(&apos;charset&apos;,&apos;UTF-8&apos;);e.setAttribute(&apos;src&apos;,&apos;http://assets.pinterest.com/js/pinmarklet.js?r=&apos;+Math.random()*99999999);document.body.appendChild(e)%7D)());"> 

Someone's jsfiddle custom link

我如何自定義我可以共享的圖像?當彈出窗口出現時,有幾個不相關的圖像(資產,圖標等)。我怎樣才能選擇其中的一部分。

我看過this example,但它看起來不正確,因爲它會拋出異常並且缺少文檔。

回答