Facebook 多好友选择器在 iframe 中被切断

发布于 2024-09-07 23:27:45 字数 148 浏览 12 评论 0原文

我一直在开发 Facebook 应用程序,唯一仍然困扰我的是好友请求。

当我使用 fb:multi-friend-selector 代码时,确认弹出窗口被右侧的 iframe 截断。该应用程序是一个基于 iframe 的画布应用程序。

有什么想法吗?

I've been working on a Facebook app and the only thing that's still bogging me down is the friend requests.

When I use the fb:multi-friend-selector code, the confirmation pop-up gets cut off by the iframe on the right hand side. The app is an iframe-based canvas app.

Any ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

冰火雁神 2024-09-14 23:27:45

您可以在 标记上指定 width 属性,使其足够宽:

<fb:serverfbml width="615">
  <script type="text/fbml">
    <fb:request-form ...></fb:request-form>
  </script>
</fb:serverfbml>

示例:http://fbrell.com/xfbml/fb:server-fbml-multi-friend-selector

编辑:成功更多的是一个答案。

You can specify a width attribute on the <fb:serverfbml> tag to make it wide enough:

<fb:serverfbml width="615">
  <script type="text/fbml">
    <fb:request-form ...></fb:request-form>
  </script>
</fb:serverfbml>

Example: http://fbrell.com/xfbml/fb:server-fbml-multi-friend-selector

EDIT: Made it more of an answer.

辞慾 2024-09-14 23:27:45

如果我没记错的话,这其实是Facebook本身的问题。

iFrame 应该随内容动态调整大小,但仅在加载时动态调整内容大小,而不是在内容更改时动态调整大小。

If I recall correctly, that is actually a problem with Facebook itself.

Where the iFrame should be Dynamically resizing with the content but only dynamically resizes to the content on load rather than when the content changes.

以歌曲疗慰 2024-09-14 23:27:45

也有这个问题。在此示例中,他们不仅让弹出窗口显示在所有内容之上,而且选择器本身甚至不在 iframe 中。他们是怎么做的?

http://apps.facebook.com/sharethejoy/invite.php

Also having a problem with this. In this example, not only are they getting the popup to display over top everything, but the selector itself is not even in an iframe. How are they doing this?

http://apps.facebook.com/sharethejoy/invite.php

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文