1 <h1>Image viewer</h1>2 3 <div id="container"></div>4 5 <input id="slide" type="range"6 min="-240" max="240" step="1" value="0"7 onchange="updateSlider(this.value)" /><label id="slide_label">0</label>8 9 <script type="text/javascript">10 11 function updateSlider(v) {12 document.getElementById('slide_label').innerHTML = v;13 }14 15 </script>16 17 <style type="text/css">18 19 #container {20 position: absolute;21 width: 240px;22 height: 320px;23 border: solid 16px #333333;24 left: 400px;25 top: 0;26 }27 </style>
Enlace
El enlace para compartir es: