我的 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
但是,当您真正“固定”它时,它会像您所看到的那样刷新,而且我一生都无法弄清楚为什么..
谢谢!