Facebook Like 按钮 - iframe 小部件页面外

发布于 2024-12-29 08:36:00 字数 169 浏览 4 评论 0原文

facebook-box

您好,我的 facebook popin iframe 小部件(通过点赞按钮)正在离开页面。 有没有办法防止这种情况?

(右侧被切除的部分是我的屏幕/浏览器的边缘)

facebook-box

Hi, my facebook popin iframe widget from the like button is going off page.
is there a method to prevent this?

(the cut off portion on the right is the edge of my screen/browser)

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

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

发布评论

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

评论(1

无人接听 2025-01-05 08:36:00
  • 确保您的 body 标签的宽度与 iframe 的实际宽度相同(即 520px),
  • 或者确保您将 Like 按钮放置在其中的元素设置为正确的宽度(以便 Facebook 知道如何更好地定位其弹出窗口)
  • Ensure your body tag has a fixed width to the actual width of the iframe (i.e. 520px)
  • Or ensure the element you place the like button inside of is set to the correct width (so Facebook knows how to position its popup better)
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文