Blogger上三种类型的Google+Gadget


如何添加gadget,Blogger官方参考

新推出的这种gadget

  • Google+ Followers


  • Google+1按钮


  • Google+ Circle me

通过添加下面的代码就能生成另外一种gadget
如下图中蓝色框

<!-- Place this tag where you want the badge to render -->
<a href="https://plus.google.com/109340910651529827181?prsrc=3" rel="author" style="display:inline-block;text-decoration:none;color:#333;text-align:center;font:13px/16px arial,sans-serif;white-space:nowrap;"><span style="display:inline-block;font-weight:bold;vertical-align:top;margin-right:5px;margin-top:8px;">Ein Verne</span><span style="display:inline-block;vertical-align:top;margin-right:15px;margin-top:8px;">on</span><img src="https://ssl.gstatic.com/images/icons/gplus-32.png" alt="" style="border:0;width:32px;height:32px;"/></a>

<!-- Place this tag where you want the badge to render. -->
<div class="g-plus" data-width="200" data-height="69" data-href="//plus.google.com/109340910651529827181?rel=author"></div>

<!-- Place this tag after the last badge tag. -->
<script type="text/javascript">
  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
</script>

Related Articles

0 评论 :

发表评论

Quote Of The Day