Thursday, June 20, 2013

Google+ Badge

<!-- Place this tag where you want the badge to render. -->
<div class="g-plus" data-height="69" data-href="//plus.google.com/108088665983670430003" data-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>

<g:plus href="https://plus.google.com/{profileId}" rel="author"></g:plus>
 
<div class="g-plus" data-href="https://plus.google.com/{profileId}" rel="author"></div>
 
<g:plus href="https://plus.google.com/{pageId}"></g:plus>
<link href="https://plus.google.com/{plusPageUrl}" rel="publisher" />
 
<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>
window.___gcfg = {
  lang: 'zh-CN',
  parsetags: 'onload'
};   
 
<div class="g-plus" data-href="https://plus.google.com/{pageId}"></div>   

No comments: