我想知道是否有一种简单的方法可以将此弹出窗口(跨度)JPicker(基于 JQuery 构建)保持在其他模式窗口或 div 之上?Zindex,有没有办法确保 zindex 总是在顶部?
谢谢
我想知道是否有一种简单的方法可以将此弹出窗口(跨度)JPicker(基于 JQuery 构建)保持在其他模式窗口或 div 之上?Zindex,有没有办法确保 zindex 总是在顶部?
谢谢
If you set the z-index to a very large value, say 9999, that will essentially guarantee that the window is the top-most.
将此添加到您的 CSS 中。在我的 jQ 对话框中为我工作。
.jPicker{z-index:2000 !important;}
!important 会覆盖默认的 z-index,我认为它是 10 或 20。