Zugpackungen
Sortierung
Filter
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: [55, 1365],
connect: true,
range: {
min: [55],
max: [1365]
}
});
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;
}
});
});
});
Verfügbarkeit
Hersteller
Epoche MoBa
Land MoBa
Maßstab
Kategorien
Kategorien
- Märklin 36712 Start up Triebwagenzug ICE 2 Baureihe 402 DB AG H0249,99 EUR ** inkl. MwSt. zzgl. Versand
- -8%Märklin Start up Personenwagon-Set grün Epoche I-V H0
Statt 59,97 EUR55,00 EUR ** inkl. MwSt. zzgl. Versand - Märklin 46226 CLUBMODELL Selbstentladewagen-Set OOt Oldenburg DRG H0449,00 EUR ** inkl. MwSt. zzgl. Versand
- Märklin 43729 Ergänzungswagenset zum ICE 4 grün verschmutzt DB AG H0369,00 EUR ** inkl. MwSt. zzgl. Versand
- -8%Märklin Personenwagen-Set "Donnerbüchse-Einheitswagen" DB Epoche III H0
Statt 134,97 EUR124,00 EUR ** inkl. MwSt. zzgl. Versand - -8%
- -8%
- -8%Märklin Start up Intercity Schnellzugwagen-Set DB AG Epoche VI H0
Statt 226,96 EUR209,00 EUR ** inkl. MwSt. zzgl. Versand - -10%Märklin Personenreisezug "Taurus" ÖBB Epoche VI H0
Statt 602,97 EUR542,50 EUR ** inkl. MwSt. zzgl. Versand - -10%Märklin Kohletransport BNSF Epoche VI H0
Statt 1.517,00 EUR1.365,00 EUR ** inkl. MwSt. zzgl. Versand - -10%
- -8%Märklin Start up Regional Express DB AG Epoche V H0
Statt 339,96 EUR313,00 EUR ** inkl. MwSt. zzgl. Versand - -8%Märklin Klassiker Personennahverkehrszug DB Epoche III H0
Statt 393,97 EUR362,50 EUR ** inkl. MwSt. zzgl. Versand - -8%Märklin Silberling Personennahverkehrszug DB Epoche IV H0
Statt 593,98 EUR549,00 EUR ** inkl. MwSt. zzgl. Versand
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: [55, 1365],
connect: true,
range: {
min: [55],
max: [1365]
}
});
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;
}
});
});
});