Hi Guys,
I wanted to customize the JQueryUI slider but am not able to find any way to change the slider handle images. The JQuery Themeroller also does not seem to allow the change of handle images. Does somebody know how to do this?
Hi Guys,
I wanted to customize the JQueryUI slider but am not able to find any way to change the slider handle images. The JQuery Themeroller also does not seem to allow the change of handle images. Does somebody know how to do this?
From the jQuery UI docs:
The jQuery UI Slider plugin uses the jQuery UI CSS Framework to style its look and feel, including colors and background textures. We recommend using the ThemeRoller tool to create and download custom themes that are easy to build and maintain.
If a deeper level of customization is needed, there are widget-specific classes referenced within the ui.slider.css stylesheet that can be modified. These classes are highlighed in bold below.
In this particular case, you want to take a look at the element with classname ui-slider-handle
.
The default slider handle element has the following classnames applied to it:
Take a look at the CSS corresponding to these classnames and you will most likely be able to edit everything you need.
Also, I suggest you install Firebug. This Firefox plugin will make tasks like these a lot easier on you.