0

我想知道是否有一种简单的方法可以将此弹出窗口(跨度)JPicker(基于 JQuery 构建)保持在其他模式窗口或 div 之上?Zindex,有没有办法确保 zindex 总是在顶部?

谢谢

4

2 回答 2

1

If you set the z-index to a very large value, say 9999, that will essentially guarantee that the window is the top-most.

于 2010-05-11T19:57:52.697 回答
1

将此添加到您的 CSS 中。在我的 jQ 对话框中为我工作。

.jPicker{z-index:2000 !important;}

!important 会覆盖默认的 z-index,我认为它是 10 或 20。

于 2013-01-10T15:28:51.197 回答