D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
AbhishekGhosh
Full window
Github gist
doqywd
<table> <tr align="center"><td>Band 1</td><td>Band 2</td><td>Band 3</td><td></td><td>Band 4</td></tr> <tr align="center"><td>Value 1 (MSV)</td><td>Value 2</td><td>Weight</td><td></td><td>Tolerance</td></tr> <tr> <form name="colorSelect" method="" action=""> <td><select name="band1" value="1" onChange="calcResistance(this)" style="width: 150px; color: white; background: #583030;"> <option value="0" style="color: white; background: black;">Black (0)</option> <option value="1" style="color: white; background: #583030;" selected>Brown (1)</option> <option value="2" style="color: white; background: red;">Red (2)</option> <option value="3" style="color: black; background: orange;">Orange (3)</option> <option value="4" style="color: black; background: yellow;">Yellow (4)</option> <option value="5" style="color: white; background: green;">Green (5)</option> <option value="6" style="color: white; background: blue;">Blue (6)</option> <option value="7" style="color: white; background: purple;">Violet (7)</option> <option value="8" style="color: white; background: gray;">Gray (8)</option> <option value="9" style="color: black; background: white;">White (9)</option> </select></td> <td><select name="band2" value="0" onChange="calcResistance(this)" style="width: 150px; color: white; background: black;"> <option value="0" style="color: white; background: black;" selected>Black (0)</option> <option value="1" style="color: white; background: #583030;">Brown (1)</option> <option value="2" style="color: white; background: red;">Red (2)</option> <option value="3" style="color: black; background: orange;">Orange (3)</option> <option value="4" style="color: black; background: yellow;">Yellow (4)</option> <option value="5" style="color: white; background: green;">Green (5)</option> <option value="6" style="color: white; background: blue;">Blue (6)</option> <option value="7" style="color: white; background: purple;">Violet (7)</option> <option value="8" style="color: white; background: gray;">Gray (8)</option> <option value="9" style="color: black; background: white;">White (9)</option> </select></td> <td><select name="band3" value="2" onChange="calcResistance(this)" style="width: 150px; color: white; background: red;"> <option value="0" style="color: white; background: black;" selected>Black (1)</option> <option value="1" style="color: white; background: #583030;">Brown (10)</option> <option value="2" style="color: white; background: red;" selected>Red (100)</option> <option value="3" style="color: black; background: orange;">Orange (1k)</option> <option value="4" style="color: black; background: yellow;">Yellow (10k)</option> <option value="5" style="color: white; background: green;">Green (100k)</option> <option value="6" style="color: white; background: blue;">Blue (1M)</option> <option value="7" style="color: white; background: purple;">Violet (10M)</option> <option value="8" style="color: white; background: gray;">Gray (100M)</option> <option value="9" style="color: black; background: white;">White (1G)</option> </select></td> <td> </td> <td><select name="band4" value="0" onChange="calcResistance(this)" style="width: 150px; color: black; background: gold; size:5;"> <option value="10" style="color: black; background: gold;">Gold (± 5%)</option> <option value="11" style="color: black; background: silver;">Silver (± 10%)</option> </select></td></tr> <tr><font size="24"><center><td colspan="2" align="right"><h4>Resistance: </h4></td><td colspan="3" align="left"><h4><text id="resistorValue">1,000 Ω ±5%</text></h4></td></center></font></tr> </form> </table>