【发布时间】:2014-04-05 18:28:28
【问题描述】:
我担心我面临与以前的海报相同的挑战:
Embedding a Google Group - nothing is displayed when not logged into Google
和 How to embed google groups to a web page
第一个解决了,第二个没解决。
希望将 google-group 论坛嵌入到 html 页面中。我无法按照 Google Groups 使用 iframe 提供的指导执行此操作:
<iframe id="forum_embed"
src="javascript:void(0)"
scrolling="no"
frameborder="0"
width="900"
height="700">
</iframe>
<script type="text/javascript">
document.getElementById('forum_embed').src =
'https://groups.google.com/forum/embed/?place=forum/test-distance'
+ '&showsearch=true&showpopout=true&showtabs=false'
+ '&parenturl=' + encodeURIComponent(window.location.href);
</script>
并由http://www.jqcoolgallery.com/support.html 成功展示。我可以查看这个嵌入式论坛,但是在我的 html 中应用相同的语法时,我没有成功。
在 Firefox 27 或 Internet Explorer 11 中查看时,我同样没有成功。
【问题讨论】:
标签: iframe embedding google-groups