我的pinterest按钮有问题。
代码如下:
var pinit = '<a href="http://pinterest.com/pin/create/button/?url=' + window.location + '&media=' + $(this).attr('src') + '&description=test" class="pin-it-button" count-layout="none"><img border="0" src="//assets.pinterest.com/images/PinExt.png" title="Pin It" /></a>'
并呈现到此 URL:
http://pinterest.com/pin/create/button/?url=http://example.com/blog/?p=37&media=http://example.com/blog/wp-content/uploads/2012/12/wpim1.png&description=test
但是当你真正"固定它"时,它只是像你所看到的那样刷新,我一辈子都想不通为什么。
谢谢!
那么解决方案是什么?
不要尝试固定本地存储的图像啊哈哈。
<<<白痴。