How can i rerender Pinterest's Pin It button?

前端 未结 13 2410
暖寄归人
暖寄归人 2021-01-30 18:14

I\'m trying to create and manipulate the Pin It button after page load. When i change the button properties with js, it should be rerendered to get the functionality of pinning

13条回答
  •  别跟我提以往
    2021-01-30 18:49

    I rewrote the Pinterest button code to support the parsing of Pinterest tags after loading AJAX content, similar to FB.XFBML.parse() or gapi.plusone.go(). As a bonus, an alternate JavaScript file in the project supports an HTML5-valid syntax.

    Check out the PinterestPlus project at GitHub.

提交回复
热议问题