Farbe
Größe
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: [7.95, 69.95],
connect: true,
range: {
min: [7.95],
max: [69.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;
}
});
});
});
Marke
Kategorien
- PATAGONIA Herren Schirmmütze Corduroy Cap
UVP 50,00 EUR45,45 EUR ** inkl. ges. MwSt. zzgl. Versandkosten - -4%Under Armour Herren Schirmmütze Men's UA Blitzing, Farbe: midnight navy
UVP 25,00 EURab 23,95 EUR ** inkl. ges. MwSt. zzgl. Versandkosten - -4%Under Armour Herren Schirmmütze Men's UA Blitzing, Farbe: schwarz
UVP 25,00 EURab 23,95 EUR ** inkl. ges. MwSt. zzgl. Versandkosten - -17%
- MAMMUT Herren Wanderhut Runbold Hat
UVP 50,00 EURab 45,45 EUR ** inkl. ges. MwSt. zzgl. Versandkosten - -0%
- -13%DEUTER Reisegürtel Security Belt
UVP 16,00 EURab 13,95 EUR *Niedrigster Preis der letzten 30 Tage: 13,95 EUR* inkl. ges. MwSt. zzgl. Versandkosten - PATAGONIA Herren Schirmmütze P-6 Logo LoPro Trucker Hat
UVP 40,00 EUR39,95 EUR ** inkl. ges. MwSt. zzgl. Versandkosten - -14%ENERGETICS Ux.-Cap Limnos Kappe Unisex
UVP 14,99 EURab 12,95 EUR ** inkl. ges. MwSt. zzgl. Versandkosten