如何在G +分享按钮左侧设置Google plus计数器
问题描述:
我想在按钮左侧的G +分享按钮中设置计数器。 我使用下面的代码段:如何在G +分享按钮左侧设置Google plus计数器
<div class="social-button-fixed" id="share-btn3">
<g:plus action="share" href="returnPageUrl()" annotation="bubble" height="60" align="left" expandTo="left"></g:plus>
</div>
<script >
window.___gcfg = {
lang: 'en-US',
parsetags: 'onload'
};
</script>
<script src="https://apis.google.com/js/platform.js" async defer></script>
但它显示在按钮的右侧柜台:
我怎样才能使它显示在左边?
答
你不能。计数器的位置由share tag attributeannotation
控制。注释泡沫支持两个位置,bubble
位于按钮的右侧,vertical-bubble
位于上面。你可以看到examples of the positions。
+0
看起来像这样......我希望有一些解决方法或破解,但... – Jahid
https://developers.google.com/+/web/+1button/?hl=zh-CN –
@Paulie_D这是+1按钮,分享按钮doc是这一个:https://developers.google.com/+/web/share/ 但它不告诉我如何定位计数器... – Jahid