Rubicon Models
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: [2.5, 43.25],
connect: true,
range: {
min: [2.5],
max: [43.25]
}
});
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
Maßstab
Bolt Action Fraktion
Kategorien
Kategorien
- 75mm Field Gun M1897A3 Anti Tank Gun on M2A3 Carriage with US Gun Crew 1/56 28mm24,00 EUR ** inkl. MwSt. zzgl. Versand
- Bofors 40mm Automatic Gun L/60 Anti-Aircraft Autocannon 1/56 28mm24,00 EUR ** inkl. MwSt. zzgl. Versand
- BTR-60PA / BTR-60PB APC Armoured Personnal Carrier 1/56 28mm25,25 EUR ** inkl. MwSt. zzgl. Versand
- T-54-2 / T-54-3 / T-54A / T-54B MBT Main Battle Tank 1/56 28mm32,50 EUR ** inkl. MwSt. zzgl. Versand
- Ordnance QF25 / QF17 pdr Gun Howitzer & AT-Gun with Limber & Crew 1/56 28mm26,50 EUR ** inkl. MwSt. zzgl. Versand
- Steyr 1500A/01 Light Truck (incl. optional 2cm FlaK 38) 1/56 28mm26,50 EUR ** inkl. MwSt. zzgl. Versand
- Panzer II Ausf A/B/C/F Beobachtungswagen Light Tank 1/56 28mm28,75 EUR ** inkl. MwSt. zzgl. Versand
- Sd.Kfz. 182 Tiger II without Zimmerit (Königstiger) 1/56 28mm33,75 EUR ** inkl. MwSt. zzgl. Versand
- Sd.Kfz. 266-268 Panzerbefehlswagen III Ausf E/H/J/L 1/56 28mm27,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: [2.5, 43.25],
connect: true,
range: {
min: [2.5],
max: [43.25]
}
});
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;
}
});
});
});