Hersteller
Preis
€
―
€
"use strict";
var keypressSlider = document.querySelector(".slider-keypress");
var input0 = document.querySelector(".input-with-keypress-0");
var input1 = document.querySelector(".input-with-keypress-1");
var inputs = [input0, input1];
noUiSlider.create(keypressSlider, {
start: [8.35, 52.49],
connect: true,
range: {
min: [8.35],
max: [52.49]
}
});
keypressSlider.noUiSlider.on("update", function(values, handle) {
inputs[handle].value = values[handle];
function setSliderHandle(i, value) {
var r = [null, null];
r[i] = value;
keypressSlider.noUiSlider.set(r);
}
inputs.forEach(function(input, handle) {
input.addEventListener("change", function() {
setSliderHandle(handle, this.value);
});
input.addEventListener("keydown", function(e) {
var values = keypressSlider.noUiSlider.get();
var value = Number(values[handle]);
var steps = keypressSlider.noUiSlider.steps();
var step = steps[handle];
var position;
switch (e.which) {
case 13: setSliderHandle(handle, this.value); break;
case 38: position = step[1]; if (position === false) { position = 1; } if (position !== null) {setSliderHandle(handle, value + position); } break;
case 40: position = step[0]; if (position === false) { position = 1; } if (position !== null) { setSliderHandle(handle, value - position); } break;
}
});
});
});
Größe
- - 19.87975951903809%adidas FC Schalke 04 3 Streifen Beenie Kinder blau1-2 Werktage
24,95 €19,99 €* inkl. ges. MwSt. zzgl. Versandkosten - - 35.52123552123551%adidas FC Schalke 04 Schweißband 2014/20151-2 Werktage
12,95 €8,35 €* inkl. ges. MwSt. zzgl. Versandkosten - - 43.7312365975697%adidas Schalke 04 Auswärtstrikot Kinder 2017 / 2018 weiß1-2 Werktage
69,95 €39,36 €* inkl. ges. MwSt. zzgl. Versandkosten - - 38.42956120092379%adidas Schalke 04 Away Auswärtstrikot 2015/2016 weiß/blau1-2 Werktage
64,95 €ab 39,99 €* inkl. ges. MwSt. zzgl. Versandkosten - adidas Schalke 04 Heimtrikot 2010 Kinder blau1-2 Werktage69,95 €* inkl. ges. MwSt. zzgl. Versandkosten
- - 24.960686204431738%adidas Schalke 04 Home Heimtrikot 2016/2017 blau/weiß1-2 Werktage
69,95 €ab 52,49 €* inkl. ges. MwSt. zzgl. Versandkosten - - 48.283294842186294%adidas Schalke 04 Home Heimtrikot Kinder 2014/2016 blau/weiß1-2 Werktage
64,95 €ab 33,59 €* inkl. ges. MwSt. zzgl. Versandkosten