jquery - Bootstrap-modal 在 Flash 顶部弹出

标签 jquery flash modal-dialog twitter-bootstrap

我正在使用 Twitter 的 Bootstrap 插件 bootstrap-modal。除非后面有闪光灯元件,否则它效果很好。当 Bootstrap 模式对话框出现并且其后面有一个 Flash 元素时,Flash 元素位于其他所有元素之上。我该如何解决这个问题?

最佳答案

您需要将属性传递给 <object><embed>标记以允许 html 在 Flash 内容上显示,因为默认情况下此功能处于关闭状态。因此,将以下属性添加到您的标记中,模式弹出窗口应该可以正常工作:

wmode="opaque"

Documentation

关于jquery - Bootstrap-modal 在 Flash 顶部弹出,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9439444/

相关文章:

flash - 在 https 中加载 swf 时出现白屏

flash - ActionScript 3-如何在Chrome中隐藏默认光标?

javascript - 模态框没有完全显示

javascript - 在 html 中的多个元素上触发事件

jquery - 如何禁用多个选择选项

javascript - jQuery dataTable 为特定的 Bootstrap 模式设置页面限制

javascript - Bootstrap 模式不会出现

jquery - 在 jQuery 函数中的类之前添加标签

javascript - 为什么为 FlashGallery 添加此 javascript 会导致我的背景图像向上移动?

javascript - 手动隐藏后的 Bootstrap 模态错误