Kategorie: Formular
-
Besuchsgrund
-
Leihgerätevereinbarung
let currentZoom = 1; const minZoom = 0.5; const maxZoom = 2; const zoomStep = 0.1; const zoomWrapper = document.getElementsByTagName(‚main‘)[0]; const zoomInBtn = document.getElementById(‚zoom-in‘); const zoomOutBtn = document.getElementById(‚zoom-out‘); function applyZoom() { zoomWrapper.style.zoom = currentZoom; // = maxZoom; zoomOutBtn.disabled = currentZoom { if (currentZoom < maxZoom) { currentZoom = Math.min(currentZoom + zoomStep, maxZoom); applyZoom(); } });…