26 lines
795 B
HTML
26 lines
795 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Image Slider Control</title>
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body>
|
|
<div id="image-container">
|
|
<img src="image1.png" alt="Image 1" id="image1">
|
|
<img src="image2.png" alt="Image 2" id="image2">
|
|
</div>
|
|
<div id="slider-container">
|
|
<!-- Set the value to 0 if range is from -500 to 500 -->
|
|
<input type="range" id="slider" min="-500" max="500" value="0">
|
|
<br>
|
|
<select id="selector">
|
|
<option value="0">RESET</option>
|
|
<option value="112">Nahodne miesto</option>
|
|
</select>
|
|
</div>
|
|
<script src="script.js"></script>
|
|
</body>
|
|
</html>
|