Dav*_*ard 9 ajax google-plus-one google-plus
是否有人知道Google的一键按钮的某些代码可以在使用AJAX刷新的页面上运行?这与Facebook非常简单,但我找不到任何有关Google的文档.
谢谢.
小智 18
我也在寻找这个并找到了这个
<!-- 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>
Run Code Online (Sandbox Code Playgroud)
gapi.plusone.go(); 放置此代码,将出现按钮
| 归档时间: |
|
| 查看次数: |
7066 次 |
| 最近记录: |