3
var handlesSlider = document.getElementById("slider-handles");
5
noUiSlider.create(handlesSlider, {
14
var rangeSlider = document.getElementById("slider-range");
16
noUiSlider.create(rangeSlider, {
25
var stepSlider = document.getElementById("slider-step");
27
noUiSlider.create(stepSlider, {
37
var nonLinearSlider = document.getElementById("slider-non-linear");
39
noUiSlider.create(nonLinearSlider, {
50
var nonLinearStepSlider = document.getElementById("slider-non-linear-step");
52
noUiSlider.create(nonLinearStepSlider, {
63
var snapSlider = document.getElementById("slider-snap");
65
noUiSlider.create(snapSlider, {
81
tapSlider = document.getElementById("tap");
83
noUiSlider.create(tapSlider, {
94
var dragSlider = document.getElementById("drag");
96
noUiSlider.create(dragSlider, {
107
dragFixedSlider = document.getElementById("drag-fixed");
109
noUiSlider.create(dragFixedSlider, {
111
behaviour: "drag-fixed",
120
snapSlider = document.getElementById("snap");
122
noUiSlider.create(snapSlider, {
133
var hoverSlider = document.getElementById("hover"),
134
field = document.getElementById("hover-val");
136
noUiSlider.create(hoverSlider, {
138
behaviour: "hover-snap",
145
hoverSlider.noUiSlider.on("hover", function (value) {
146
field.innerHTML = value;
150
dragTapSlider = document.getElementById("combined");
152
noUiSlider.create(dragTapSlider, {
154
behaviour: "drag-tap",
162
var range_all_sliders = {
170
var pipsRange = document.getElementById("pips-range"),
171
pipsRangeRtl = document.getElementById("pips-range-rtl");
173
noUiSlider.create(pipsRange, {
174
range: range_all_sliders,
182
noUiSlider.create(pipsRangeRtl, {
183
range: range_all_sliders,
194
function filter500(value, type) {
195
return value % 1000 ? 2 : 1;
198
var pipsStepsFilter = document.getElementById("pips-steps-filter");
200
noUiSlider.create(pipsStepsFilter, {
201
range: range_all_sliders,
215
var defaultColorSlider = document.getElementById("default-color-slider");
217
noUiSlider.create(defaultColorSlider, {
228
var successColorSlider = document.getElementById("success-color-slider");
230
noUiSlider.create(successColorSlider, {
241
var infoColorSlider = document.getElementById("info-color-slider");
243
noUiSlider.create(infoColorSlider, {
254
var warningColorSlider = document.getElementById("warning-color-slider");
256
noUiSlider.create(warningColorSlider, {
267
var dangerColorSlider = document.getElementById("danger-color-slider");
269
noUiSlider.create(dangerColorSlider, {
280
var customColorSlider = document.getElementById("custom-color-slider");
282
noUiSlider.create(customColorSlider, {
313
var default_options = {
344
var extraLargeSlider = document.getElementById("extra-large-slider");
345
var circleExtraLargeSlider = document.getElementById(
346
"circle-extra-large-slider"
348
var squareExtraLargeSlider = document.getElementById(
349
"square-extra-large-slider"
352
noUiSlider.create(extraLargeSlider, xl_options);
353
noUiSlider.create(circleExtraLargeSlider, xl_options);
354
noUiSlider.create(squareExtraLargeSlider, xl_options);
357
var largeSlider = document.getElementById("large-slider");
358
var circleLargeSlider = document.getElementById("circle-large-slider");
359
var squareLargeSlider = document.getElementById("square-large-slider");
361
noUiSlider.create(largeSlider, lg_options);
362
noUiSlider.create(circleLargeSlider, lg_options);
363
noUiSlider.create(squareLargeSlider, lg_options);
366
var defaultSlider = document.getElementById("default-slider");
367
var circleDefaultSlider = document.getElementById("circle-default-slider");
368
var squareDefaultSlider = document.getElementById("square-default-slider");
370
noUiSlider.create(defaultSlider, default_options);
371
noUiSlider.create(circleDefaultSlider, default_options);
372
noUiSlider.create(squareDefaultSlider, default_options);
375
var smallSlider = document.getElementById("small-slider");
376
var circleSmallSlider = document.getElementById("circle-small-slider");
377
var squareSmallSlider = document.getElementById("square-small-slider");
379
noUiSlider.create(smallSlider, sm_options);
380
noUiSlider.create(circleSmallSlider, sm_options);
381
noUiSlider.create(squareSmallSlider, sm_options);
384
var extraSmallSlider = document.getElementById("extra-small-slider");
385
var circleExtraSmallSlider = document.getElementById(
386
"circle-extra-small-slider"
388
var squareExtraSmallSlider = document.getElementById(
389
"square-extra-small-slider"
392
noUiSlider.create(extraSmallSlider, xs_options);
393
noUiSlider.create(circleExtraSmallSlider, xs_options);
394
noUiSlider.create(squareExtraSmallSlider, xs_options);
397
var vertical_slider_1 = document.getElementById("slider-vertical-1");
399
noUiSlider.create(vertical_slider_1, {
401
orientation: "vertical",
408
var vertical_slider_2 = document.getElementById("slider-vertical-2");
410
noUiSlider.create(vertical_slider_2, {
412
orientation: "vertical",
419
var vertical_slider_3 = document.getElementById("slider-vertical-3");
421
noUiSlider.create(vertical_slider_3, {
423
orientation: "vertical",
430
var vertical_slider_4 = document.getElementById("slider-vertical-4");
432
noUiSlider.create(vertical_slider_4, {
434
orientation: "vertical",
441
var vertical_slider_5 = document.getElementById("slider-vertical-5");
443
noUiSlider.create(vertical_slider_5, {
445
orientation: "vertical",
453
var connectLowerSlider1 = document.getElementById("connect-lower-1");
455
noUiSlider.create(connectLowerSlider1, {
457
orientation: "vertical",
465
var connectLowerSlider2 = document.getElementById("connect-lower-2");
467
noUiSlider.create(connectLowerSlider2, {
469
orientation: "vertical",
477
var connectLowerSlider3 = document.getElementById("connect-lower-3");
479
noUiSlider.create(connectLowerSlider3, {
481
orientation: "vertical",
489
var connectLowerSlider4 = document.getElementById("connect-lower-4");
491
noUiSlider.create(connectLowerSlider4, {
493
orientation: "vertical",
501
var connectLowerSlider5 = document.getElementById("connect-lower-5");
503
noUiSlider.create(connectLowerSlider5, {
505
orientation: "vertical",
514
var connectUpperSlider1 = document.getElementById("connect-upper-1");
516
noUiSlider.create(connectUpperSlider1, {
518
orientation: "vertical",
526
var connectUpperSlider2 = document.getElementById("connect-upper-2");
528
noUiSlider.create(connectUpperSlider2, {
530
orientation: "vertical",
538
var connectUpperSlider3 = document.getElementById("connect-upper-3");
540
noUiSlider.create(connectUpperSlider3, {
542
orientation: "vertical",
550
var connectUpperSlider4 = document.getElementById("connect-upper-4");
552
noUiSlider.create(connectUpperSlider4, {
554
orientation: "vertical",
562
var connectUpperSlider5 = document.getElementById("connect-upper-5");
564
noUiSlider.create(connectUpperSlider5, {
566
orientation: "vertical",
575
var tooltipSlider1 = document.getElementById("slider-tooltips-1");
577
noUiSlider.create(tooltipSlider1, {
579
orientation: "vertical",
592
var tooltipSlider2 = document.getElementById("slider-tooltips-2");
594
noUiSlider.create(tooltipSlider2, {
596
orientation: "vertical",
609
var tooltipSlider3 = document.getElementById("slider-tooltips-3");
611
noUiSlider.create(tooltipSlider3, {
613
orientation: "vertical",
627
var directionTopBottom1 = document.getElementById(
628
"slider-direction-top-bottom-1"
631
noUiSlider.create(directionTopBottom1, {
632
range: range_all_sliders,
635
orientation: "vertical",
642
var directionTopBottom2 = document.getElementById(
643
"slider-direction-top-bottom-2"
646
noUiSlider.create(directionTopBottom2, {
647
range: range_all_sliders,
650
orientation: "vertical",
657
var directionTopBottom3 = document.getElementById(
658
"slider-direction-top-bottom-3"
661
noUiSlider.create(directionTopBottom3, {
662
range: range_all_sliders,
665
orientation: "vertical",
673
var directionBottomTop1 = document.getElementById(
674
"slider-direction-bottom-top-1"
677
noUiSlider.create(directionBottomTop1, {
678
range: range_all_sliders,
681
orientation: "vertical",
689
var directionBottomTop2 = document.getElementById(
690
"slider-direction-bottom-top-2"
693
noUiSlider.create(directionBottomTop2, {
694
range: range_all_sliders,
697
orientation: "vertical",
705
var directionBottomTop3 = document.getElementById(
706
"slider-direction-bottom-top-3"
709
noUiSlider.create(directionBottomTop3, {
710
range: range_all_sliders,
713
orientation: "vertical",
722
var verticalMarginSlider1 = document.getElementById("vertical-margin-1");
724
noUiSlider.create(verticalMarginSlider1, {
726
orientation: "vertical",
734
var verticalMarginSlider2 = document.getElementById("vertical-margin-2");
736
noUiSlider.create(verticalMarginSlider2, {
738
orientation: "vertical",
746
var verticalMarginSlider3 = document.getElementById("vertical-margin-3");
748
noUiSlider.create(verticalMarginSlider3, {
750
orientation: "vertical",
758
var verticalMarginSlider4 = document.getElementById("vertical-margin-4");
760
noUiSlider.create(verticalMarginSlider4, {
762
orientation: "vertical",
770
var verticalMarginSlider5 = document.getElementById("vertical-margin-5");
772
noUiSlider.create(verticalMarginSlider5, {
774
orientation: "vertical",
783
var verticalLimitSlider1 = document.getElementById("vertical-limit-1");
785
noUiSlider.create(verticalLimitSlider1, {
787
orientation: "vertical",
797
var verticalLimitSlider2 = document.getElementById("vertical-limit-2");
799
noUiSlider.create(verticalLimitSlider2, {
801
orientation: "vertical",
811
var verticalLimitSlider3 = document.getElementById("vertical-limit-3");
813
noUiSlider.create(verticalLimitSlider3, {
815
orientation: "vertical",
825
var verticalLimitSlider4 = document.getElementById("vertical-limit-4");
827
noUiSlider.create(verticalLimitSlider4, {
829
orientation: "vertical",
839
var verticalLimitSlider5 = document.getElementById("vertical-limit-5");
841
noUiSlider.create(verticalLimitSlider5, {
843
orientation: "vertical",
856
orientation: "vertical",
864
var verticalStepSlider1 = document.getElementById("vertical-steps-1");
865
noUiSlider.create(verticalStepSlider1, stepsOptions);
867
var verticalStepSlider2 = document.getElementById("vertical-steps-2");
868
noUiSlider.create(verticalStepSlider2, stepsOptions);
870
var verticalStepSlider3 = document.getElementById("vertical-steps-3");
871
noUiSlider.create(verticalStepSlider3, stepsOptions);
873
var verticalStepSlider4 = document.getElementById("vertical-steps-4");
874
noUiSlider.create(verticalStepSlider4, stepsOptions);
876
var verticalStepSlider5 = document.getElementById("vertical-steps-5");
877
noUiSlider.create(verticalStepSlider5, stepsOptions);
880
var vertical_xl_options = {
884
orientation: "vertical",
891
var vertical_lg_options = {
895
orientation: "vertical",
902
var vertical_default_options = {
906
orientation: "vertical",
913
var vertical_sm_options = {
917
orientation: "vertical",
924
var vertical_xs_options = {
928
orientation: "vertical",
936
var vertExtraLargeSlider = document.getElementById("vert-extra-large-slider");
937
var vertCircleExtraLargeSlider = document.getElementById(
938
"vert-circle-extra-large-slider"
940
var vertSquareExtraLargeSlider = document.getElementById(
941
"vert-square-extra-large-slider"
944
noUiSlider.create(vertExtraLargeSlider, vertical_xl_options);
945
noUiSlider.create(vertCircleExtraLargeSlider, vertical_xl_options);
946
noUiSlider.create(vertSquareExtraLargeSlider, vertical_xl_options);
949
var vertLargeSlider = document.getElementById("vert-large-slider");
950
var vertCircleLargeSlider = document.getElementById(
951
"vert-circle-large-slider"
953
var vertSquareLargeSlider = document.getElementById(
954
"vert-square-large-slider"
957
noUiSlider.create(vertLargeSlider, vertical_lg_options);
958
noUiSlider.create(vertCircleLargeSlider, vertical_lg_options);
959
noUiSlider.create(vertSquareLargeSlider, vertical_lg_options);
962
var vertDefaultSlider = document.getElementById("vert-default-slider");
963
var vertCircleDefaultSlider = document.getElementById(
964
"vert-circle-default-slider"
966
var vertSquareDefaultSlider = document.getElementById(
967
"vert-square-default-slider"
970
noUiSlider.create(vertDefaultSlider, vertical_default_options);
971
noUiSlider.create(vertCircleDefaultSlider, vertical_default_options);
972
noUiSlider.create(vertSquareDefaultSlider, vertical_default_options);
975
var vertSmallSlider = document.getElementById("vert-small-slider");
976
var vertCircleSmallSlider = document.getElementById(
977
"vert-circle-small-slider"
979
var vertSquareSmallSlider = document.getElementById(
980
"vert-square-small-slider"
983
noUiSlider.create(vertSmallSlider, vertical_sm_options);
984
noUiSlider.create(vertCircleSmallSlider, vertical_sm_options);
985
noUiSlider.create(vertSquareSmallSlider, vertical_sm_options);
988
var vertExtraSmallSlider = document.getElementById("vert-extra-small-slider");
989
var vertCircleExtraSmallSlider = document.getElementById(
990
"vert-circle-extra-small-slider"
992
var vertSquareExtraSmallSlider = document.getElementById(
993
"vert-square-extra-small-slider"
996
noUiSlider.create(vertExtraSmallSlider, vertical_xs_options);
997
noUiSlider.create(vertCircleExtraSmallSlider, vertical_xs_options);
998
noUiSlider.create(vertSquareExtraSmallSlider, vertical_xs_options);