This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Circleslider change Slider color
#3
Or you can do it like that with a bit object

Additional class slilder-custom
JS

Code:
$(function() {
 if (typeof grp != 'object') {
   return;
 }

 grp.listen('1/1/1', function(object, state) {
   $('.slilder-custom').toggleClass('change-slider-colour', object.value == true);
 });
});
CSS
Code:
.change-slider-colour {
 filter: hue-rotate(50deg);
}
------------------------------
Ctrl+F5
Reply


Messages In This Thread
RE: Circleslider change Slider color - by Daniel - 18.06.2019, 14:27

Forum Jump: