Javascript 单击时google共享弹出窗口未打开
我使用谷歌共享按钮,但由于某些原因,它不会打开弹出窗口,而是在同一窗口全屏打开Javascript 单击时google共享弹出窗口未打开,javascript,web,google-plus,web-development-server,Javascript,Web,Google Plus,Web Development Server,我使用谷歌共享按钮,但由于某些原因,它不会打开弹出窗口,而是在同一窗口全屏打开 <a class="google-plus" style="display:inline-block" href="https://plus.google.com/share?url=http%3A%2F%2Ftarunkrishna.com%2F" title="Share on Google+"> <span class="fa fa-google-plus"></span>
<a class="google-plus" style="display:inline-block" href="https://plus.google.com/share?url=http%3A%2F%2Ftarunkrishna.com%2F" title="Share on Google+">
<span class="fa fa-google-plus"></span>
</a>
您只有一个,应该包含一个onclick
处理程序。完整的文档化示例是:
<a href="https://plus.google.com/share?url={URL}" onclick="javascript:window.open(this.href,
'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"><img
src="https://www.gstatic.com/images/icons/gplus-64.png" alt="Share on Google+"/></a>
可能是重复的先生非常感谢您。。。我还在学习阶段。。我想我永远也做不成了。也为我的回复感到抱歉