Welcome to my jQuery Slider demonstration!
JSFIDDLE
Check out my JS Fiddle Example
Coloured Bar
$('.ui-widget-content').css('background','green');
I have successfully colored the bar green using the code above, but now I want to take it a step further.
What I am looking to achieve is having different colors on the bar based on specific value ranges. For instance, I want the bar to be red for values between 0 and 30, orange between 30 and 70, and green between 70 and 100.
This way, as the slider moves across the bar, it transitions through red, orange, and green sections.
Do you think this customization is possible?
The linear gradient solution works perfectly for me, but unfortunately, my client is still using IE8 which does not support it.