点赞/发送弹出窗口“弹出窗口”隐藏在 FB 选项卡中
我正在尝试在我的自定义 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以考虑将“发送”按钮放置在选项卡 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)