Zustand
für das Gerät
Komponenten
Bildschirmdiagonale
Tastaturlayout
Anschlüsse
Grafikkarte
Grafikkartenspeicher
Auflösung
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: [6.9, 5890],
connect: true,
range: {
min: [6.9],
max: [5890]
}
});
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
Komponenten
Bildschirmdiagonale
Tastaturlayout
Anschlüsse
Grafikkarte
Grafikkartenspeicher
Auflösung
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: [6.9, 5890],
connect: true,
range: {
min: [6.9],
max: [5890]
}
});
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
- 4x Kingston KVR266X72RC25L/1G 4GB RAM KIT 4x1GB DDR 266Mhz 184-pin ECC reg.18,90 EUR ** inkl. ges. MwSt. zzgl. Versandkosten
- Kingston KTM2759K2/4G 4GB Kit 2x2GB DDR2 667MHz 240-pin ECC reg.21,90 EUR ** inkl. ges. MwSt. zzgl. Versandkosten
- ArtikelpaketLenovo AC Adapter 90W 20V Netzteil mit Netzkabel (SET)19,90 EUR ** inkl. ges. MwSt. zzgl. Versandkosten
- Netzkabel Stromkabel nach IEC 60320-1 Stecker (Europa) auf Stecker (C6) Kaltgerätekabel8,00 EUR ** inkl. ges. MwSt. zzgl. Versandkosten