有谁知道 Google 加一按钮的一些代码可以在使用 AJAX 刷新的页面上运行吗? Facebook 的操作非常简单,但我在 Google 上找不到任何相关文档。
Thanks.
我也在寻找这个并找到了这个
<!-- Place this tag in your head or just before your close body tag -->
<script type="text/javascript" src="https://apis.google.com/js/plusone.js">
{parsetags: 'explicit'}
</script>
<!-- Place this tag where you want the +1 button to render -->
<g:plusone></g:plusone>
<!-- Place this render call where appropriate -->
<script type="text/javascript">gapi.plusone.go();</script>
gapi.plusone.go();
放置此代码,按钮就会出现
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)