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

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

问题描述

我正在使用Twitter的Bootstrap插件 bootstrap-modal 。除了它后面有一个闪光元素,它运作良好。当引导模式对话框出现,并且在它后面有一个闪存元素时,闪存元素位于其他所有元素之上。如何解决这个问题?解决方案

/ code>或< embed> 标记,以允许HTML在您的Flash内容上显示,因为此功能在默认情况下处于关闭状态。所以,添加下面的属性到你的标签和模态弹出应该工作正常:

  wmode =opaque

文档


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?

解决方案

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"

Documentation

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

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