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: [15.49, 289.95],
connect: true,
range: {
min: [15.49],
max: [289.95]
}
});
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;
}
});
});
});
Sohle
Untergrund
Größe
Farbe
- - 22.549999999999997%adidas SG Konische Schraubstollen Studs Aluminium für Predator, Copa neu, ACE, X und MESSI1-2 Werktage
20,00 €15,49 €1 Satz* inkl. ges. MwSt. zzgl. Versandkosten - - 17.55000000000001%adidas SG Studs Lange Schraubstollen Aluminium X ACE Predator Copa neu Nemeziz1-2 Werktage
20,00 €16,49 €* inkl. ges. MwSt. zzgl. Versandkosten