Added input tags to HTML that call JavaScript functions, as well as changing JavaScript code to match HTML input IDs.
This commit is contained in:
@ -12,6 +12,22 @@
|
||||
</div>
|
||||
<div class="contentBox">
|
||||
<p>Just pretend there's a bunch of buttons and sliders here. I'm just kind of yapping to test the CSS. Wow look at that slider and those buttons. So cool.</p>
|
||||
|
||||
<h2>transmitterID (0-65535)</h2>
|
||||
<input type="number" id="transmitterIDInput">
|
||||
<h2>Channel Input (1-3)</h2>
|
||||
<input type="number" id="channelIDInput">
|
||||
<h2>LucalEncoded?</h2>
|
||||
<input type="checkbox" id="lucalEncodedInput">
|
||||
<h2>Shock</h2>
|
||||
<input type="range" min="0" max="99" id="shockIntensity" oninput="this.nextElementSibling.value = this.value">
|
||||
<output>0</output>
|
||||
<br>
|
||||
<h2>Vibrate</h2>
|
||||
<input type="range" min="0" max="99" id="vibrateIntensity" oninput="this.nextElementSibling.value = this.value">
|
||||
<output>0</output>
|
||||
<br>
|
||||
<button onclick="vibrate();">Vibrate!</button>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user