Zustand
für das Gerät
Hersteller
Preisspanne
€
―
€
"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: [12.9, 35.9],
connect: true,
range: {
min: [12.9],
max: [35.9]
}
});
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;
}
});
});
});
Zustand
für das Gerät
Preisspanne
€
―
€
"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: [12.9, 35.9],
connect: true,
range: {
min: [12.9],
max: [35.9]
}
});
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;
}
});
});
});
Hersteller
- NeuwareLenovo 0A65618 Super Multi DVD Brenner SATA NEU OVP24,90 EUR ** inkl. ges. MwSt. zzgl. Versandkosten
- Samsung UJ8A7 BA59-03155A DVDRW Slot-in UltraThin 9,5mm Laufwerk für NP700Z5A NEU OVP35,90 EUR ** inkl. ges. MwSt. zzgl. Versandkosten
- IBM CD-RW/DVD Drive UltraBay Enhanced 39M3540 Fru 39M3541 Combo Laufwerk GCC-4244N19,90 EUR ** inkl. ges. MwSt. zzgl. Versandkosten
- IBM DVD Laufwerk 24P3638 Fru 24P3639 xSeries Cluster GDR-8082N19,90 EUR ** inkl. ges. MwSt. zzgl. Versandkosten
- IBM CD-RW/DVD Drive UltraBay Enhanced 39M3562 Fru 39M3563 Combo Laufwerk UJDA77012,90 EUR ** inkl. ges. MwSt. zzgl. Versandkosten
- IBM 39T2724 DVD Multilaufwerk Laufwerk FRU 39T267112,90 EUR ** inkl. ges. MwSt. zzgl. Versandkosten
- IBM 08K9605 Floppy Laufwerk 1,44MB Laufwerk FRU 08K960712,90 EUR ** inkl. ges. MwSt. zzgl. Versandkosten
- IBM DVD-CD/RW Combo BladeCenter E 39M3560 Fru 39M3561 UJDA770 Combo Laufwerk19,90 EUR ** inkl. ges. MwSt. zzgl. Versandkosten
- IBM CD-RW/DVD Drive 39M3544 Fru 39M3545 GCC-4246N Slimline Combo Laufwerk19,90 EUR ** inkl. ges. MwSt. zzgl. Versandkosten
- IBM DVD-CD/RW Drive Combo 43W4584 Fru 43W4585 Combo Laufwerk GCC-T10N19,90 EUR ** inkl. ges. MwSt. zzgl. Versandkosten