document.getElementById('position').addEventListener('change', function() { var mount = document.getElementById('camera-mount'); var position = this.value; if (position === 'top') { mount.style.top = '10%'; mount.style.left = '45%'; } else if (position === 'side') { mount.style.top = '30%'; mount.style.left = '80%'; } else if (position === 'front') { mount.style.top = '60%'; mount.style.left = '45%'; } });

Get Your Download Immediately

Get Instant access to our Digital Helmet Camera ebook

You have Successfully Subscribed!