setting z-index jquery ui controls?
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.
精彩评论