Bootstrap-modal 弹出到 Flash 的顶部 [英] Bootstrap-modal pop up on top to Flash

查看:25
本文介绍了Bootstrap-modal 弹出到 Flash 的顶部的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Twitter 的 Bootstrap 插件 bootstrap-modal.它工作得很好,除非它后面有一个闪光元素.当 bootstrap-modal 对话框打开,并且后面有一个 flash 元素时,flash 元素位于其他所有元素之上.我该如何解决这个问题?

I am using the Twitter's Bootstrap plugin bootstrap-modal. It works well except for when there is a flash element behind it. When the bootstrap-modal dialogue box up, and there is a flash element behind it, the flash element is on top of everything else. How do I fix this?

推荐答案

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

You need to pass an attribute to the <object> or <embed> tag to allow html to display over your flash content, since this feature is turned off by default. So, add the following attribute to your tag and the modal popup should work fine:

wmode="opaque"

文档

这篇关于Bootstrap-modal 弹出到 Flash 的顶部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆