开发者

setting z-index jquery ui controls?

开发者 https://www.devze.com 2023-01-02 01:59 出处:网络
Annoyingly, the jquery ui\'s set a few css properties inline, making it impossible to override them in the stylesheet. I tried to override the values with jquery, but then they get changed back as soo

Annoyingly, the jquery ui's set a few css properties inline, making it impossible to override them in the stylesheet. I tried to override the values with jquery, but then they get changed back as soon as the control is interacted with.

Does anyone know if any of the jquery ui control's initialisers/constructors have the ability to override their z-开发者_如何学Goindex value or set other css properties?


After looking through the jquery ui source code, the jquery ui functions generally contain the line $(input).zIndex(). Therefore, setting a z-index on the elements you are passing to the jquery ui function/control initialiser will work.

0

精彩评论

暂无评论...
验证码 换一张
取 消