如何在iframe中加载Google Plus共享按钮? [英] How to load google plus share button in iframe?

查看:97
本文介绍了如何在iframe中加载Google Plus共享按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以给我一个关于如何在iframe中异步加载Google加共享按钮(而不是+1按钮)的解决方案.我已经为+1按钮做到了这一点.

Can anyone give me a solution on How can I load the Google plus share button (not the +1 button) in an iframe asynchronously. I have managed to do that for the +1 button.

推荐答案

尝试以下HTML代码段:

Try this html snippet:

<iframe src="https://plusone.google.com/_/+1/fastbutton?bsv&amp;size=medium&amp;hl=en-US&amp;url=http://test.com/&amp;parent=http://test.com/" allowtransparency="true" frameborder="0" scrolling="no" title="+1"></iframe>

这篇关于如何在iframe中加载Google Plus共享按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆