Tyrannosaurus Series 1:35
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: [31.9, 93.5],
connect: true,
range: {
min: [31.9],
max: [93.5]
}
});
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
Kategorien
Kategorien
- Meng Russian Main Battle Tank T-72B3M w/KMT-8 Mine Clearing System 1/3570,75 EUR ** inkl. MwSt. zzgl. Versand
- Meng German Medium Tank Sd.Kfz.171 Panther Ausf. G Early with Air Defense Armor 1/3548,50 EUR ** inkl. MwSt. zzgl. Versand
- Meng Israel Main Battle Tank Merkava Mk.4/4LIC w/Nochri-Kal Mine Roller System 1/3570,75 EUR ** inkl. MwSt. zzgl. Versand
- Meng German Medium Tank Sd.Kfz.171 Panther Ausf. A Early 1/3548,50 EUR ** inkl. MwSt. zzgl. Versand
- Meng Canadian Main Battle Tank Leopard C2 MEXAS w/Dozer Blade 1/3563,90 EUR ** inkl. MwSt. zzgl. Versand
- Meng German Heavy Tank Sd.Kfz.182 King Tiger (Porsche Turret) 1/3539,90 EUR ** inkl. MwSt. zzgl. Versand
- Meng Israel Main Battle Tank Merkava Mk.4M w/Trophy Active Protection System 1/3570,75 EUR ** inkl. MwSt. zzgl. Versand
- Meng German Panzerhaubitze 2000 Self-Propelled Howitzer 1/3561,75 EUR ** inkl. MwSt. zzgl. Versand
- Meng German Heavy Tank Sd.Kfz.182 King Tiger (Henschel Turret) 1/3536,50 EUR ** inkl. MwSt. zzgl. Versand
- Meng USMC M1A1 AIM/U.S.Army M1A1 Abrams TUSK Main Battle Tank70,50 EUR ** inkl. MwSt. zzgl. Versand
- Meng Israel Main Battle Tank Merkava Mk.3 Baz w/Nochri Dalet Mine Roller System 1/3570,75 EUR ** inkl. MwSt. zzgl. Versand
- Meng BMPT Russian Terminator Fire Support Combat Vehicle 1/3570,75 EUR ** inkl. MwSt. zzgl. Versand
- Meng Russian ZSU-23-4 Shilka Self-Propelled Anti-Aircraft Gun 1/3570,75 EUR ** inkl. MwSt. zzgl. Versand
- Meng U.S.Main Battle Tank M1A2 SEP Abrams TUSK I/TUSK II 1/3570,75 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: [31.9, 93.5],
connect: true,
range: {
min: [31.9],
max: [93.5]
}
});
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;
}
});
});
});