Google plus 如何在Google Plus Badge的新窗口中打开链接?

Google plus 如何在Google Plus Badge的新窗口中打开链接?,google-plus,google-plus-one,Google Plus,Google Plus One,我的网站上有和的代码 我需要在新窗口中打开指向Google+页面(按徽章生成)的链接。 如果您有其他方式,我需要: 链接到Google+页面 “添加到圆”的“添加”功能 +1个带计数的按钮 排成一行 我的代码如下所示: <table> <tr> <td style="padding-top:2px; vertical-align:top;"><div style="width:180px; height:30px; overflow:hid

我的网站上有和的代码
我需要在新窗口中打开指向Google+页面(按徽章生成)的链接。

如果您有其他方式,我需要:

  • 链接到Google+页面
  • “添加到圆”的“添加”功能
  • +1个带计数的按钮
排成一行

我的代码如下所示:

<table>
<tr>
<td style="padding-top:2px; vertical-align:top;"><div style="width:180px; height:30px;     overflow:hidden;">
<div style="margin-top:-15px; margin-left:0px;" title="International Studies Google         Plus">
                <style type="text/css">
                             #___plusone_0, #___plusone_0         iframe{
                                 width:66px !important;
                             }
                            </style>
                <div class="g-plus" data-href="https://plus.google.com/118182458881247471225?rel=publisher" data-width="170" data-height="69" data-theme="light"></div>
              </div>
            </div></td>
              <td style="padding-top:6px; padding-left:5px;"><g:plusone></g:plusone>    </td>
</tr>
</table>

#___plusone_0,iframe{
宽度:66px!重要;
}
您不能这样做

徽章不提供任何允许您在新窗口中打开链接的标志。它也是提供您所需的“添加到圆”功能的唯一功能

最接近的方法是使用静态徽章和+1按钮:

<div>
  <a href="https://plus.google.com/118182458881247471225?prsrc=3" rel="publisher" style="text-decoration:none;" target="_blank">
  <img src="//ssl.gstatic.com/images/icons/gplus-32.png" alt="Google+" style="border:0;width:32px;height:32px;"/></a>

  <div class="g-plusone" data-annotation="inline" data-width="300"></div>
</div>

而且,看起来这个功能有一个新的解决方案。如果启动此功能请求,您将收到更新通知