如何在其他模式弹出窗口中显示模式弹出窗口 [英] How to show a modal pop up above other modal pop up
本文介绍了如何在其他模式弹出窗口中显示模式弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
任何意见和建议都会受到赞赏!
解决方案
尝试设置
$ b
#popup1 { z-index
z-index:9997;
}
#popup2 {
z-index:9998; //这将会出现在popup1
}
上面这提供了#popup1
和#popup2
拥有相同的父母。
I have a Modal Pop up . When I click on a button in the Modal Pop Up, another Modal Pop Up shows up. But some of the second modal pop up it hides behind the first modal pop up. How to make it show above the first modal pop up.
Any ideas and suggestions are appreciated !
解决方案
Try setting the z-index of the popup wrapper you want above greater than the other..
#popup1 {
z-index: 9997;
}
#popup2 {
z-index: 9998; // This will come above popup1
}
This is provided that #popup1
and #popup2
have the same parent.
这篇关于如何在其他模式弹出窗口中显示模式弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文