Skinning Slider

The skin can be set for dhtmlxSlider in one of the following ways:

  • Through one of initialization parameters:
var mySlider = new dhtmlXSlider("slider", 100, "dhx_web", ...);
// or
var mySlider = new dhtmlXSlider("slider", {                    
    skin: "dhx_web",
    ...
});
  • Through the setSkin() method called after slider's initialization:
mySlider.setSkin(skin);

where:

  • skin - (string) the skin name

Available Skins

The following skins are available for this component:

material (default)
dhx_skyblue
dhx_web
dhx_terrace

Related sample:  Skins

Back to top