Bootstrap-modal pop up on top to Flash

百般思念 提交于 2019-12-05 02:23:25

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/9439444/bootstrap-modal-pop-up-on-top-to-flash

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!