Link labels to input elements

This commit is contained in:
Maximilian Krög
2020-08-01 11:47:26 +02:00
parent 37e5529b22
commit d2d1022359
27 changed files with 102 additions and 99 deletions
+3 -3
View File
@@ -28,17 +28,17 @@ tags: "raster, shaded relief"
<div id="map" class="map"></div>
<table class="controls">
<tr>
<td>vertical exaggeration:</td>
<td><label for="vert">vertical exaggeration:</label></td>
<td><input id="vert" type="range" min="1" max="5" value="1"/></td>
<td><span id="vertOut"></span> x</td>
</tr>
<tr>
<td>sun elevation:</td>
<td><label for="sunEl">sun elevation:</label></td>
<td><input id="sunEl" type="range" min="0" max="90" value="45"/></td>
<td><span id="sunElOut"></span> °</td>
</tr>
<tr>
<td>sun azimuth:</td>
<td><label for="sunAz">sun azimuth:</label></td>
<td><input id="sunAz" type="range" min="0" max="360" value="45"/></td>
<td><span id="sunAzOut"></span> °</td>
</tr>