点赞/发送弹出窗口“弹出窗口”隐藏在 FB 选项卡中

发布于 2024-12-16 21:30:31 字数 637 浏览 4 评论 0原文

我正在尝试在我的自定义 FB 选项卡应用程序上实现发送按钮。

使用 XFBML 共享按钮是可行的,但是当您单击它时,弹出窗口(又名“弹出窗口”)由于溢出而被隐藏:隐藏; CSS。 例如,将溢出属性更改为可见不会产生任何效果(可能是因为我告诉 FB 调整选项卡大小: <脚本类型=“text/javascript”> window.fbAsyncInit = function() { FB.Canvas.setSize(); }

问题截图: https://i.sstatic.net/sHH1a.png(我是新用户,不允许内联图像)

有没有办法告诉该框显示在右侧 FB 侧边栏的顶部或按钮的左侧而不是右侧?

我是否需要创建一个包含共享和共享的对话框?像按钮? (这可能会成为问题,因为我打算在每行旁边显示一个发送按钮)。

链接到原始选项卡index.php:http://openair.co.nz/facebook/events/

I'm trying to implement a send button on my custom FB tab app.

Using the XFBML share button works, but when you click on it, the pop-up (aka "flyout") gets hidden due to the overflow: hidden; css.
Changing the overflow attribute to visible, for example, doesn't have a effect (probably cause I'm telling FB to resize the tab:
<script type="text/javascript">
window.fbAsyncInit = function() {
FB.Canvas.setSize();
}
</script>

Screenshot of the problem:
https://i.sstatic.net/sHH1a.png (I'm a new user, not allowed inline images)

Is there a way of telling the box to display on top of the right FB sidebar or on the left of the button instead of the right?

Do I need to create a dialogue box with share & like buttons? (this might become problematic as I intend to display a send button next to each row).

Link to raw tab index.php : http://openair.co.nz/facebook/events/

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

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

发布评论

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

评论(1

画离情绘悲伤 2024-12-23 21:30:31

您可以考虑将“发送”按钮放置在选项卡 iframe 的左侧,并确保底部的发送按钮下方有足够的空间来打开弹出窗口而不会再次丢失它。没有其他已知的解决方案(我的意见)

You may consider positioning the Send button to the left side of the tab iframe, and make sure that the bottom send button has enough space below itself to open a popup without losing it again. No other known solutions (my opinion)

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