Need some help creating a on/off radio style button, doesnt have to be a radio button, as you will find out as you read.
I have two telephone lines coming into our computer room, for each company. I need to create an on screen show which line we are on. See code below.
Expand|Select|Wrap|Line Numbers
- <html>
- <body>
- <table border="1">
- <tr>
- <th> </th>
- <th>Comp 1</th>
- <th>Comp 2</th>
- </tr>
- <tr>
- <td> Main </td>
- <td><input type="radio" name="ext1" value="Man_ext1" /> </td>
- <td><input type="radio" name="ext2" value="Man_ext2" /> </td>
- </tr>
- <tr>
- <td> Reserve </td>
- <td><input type="radio" name="ext1" value="Res_ext1" /> </td>
- <td><input type="radio" name="ext2" value="Res_ext2" /> </td>
- </tr>
- </table>
- </body>
- </html>
Im trying to avoid making it too compilcated and keep it within HTML/CSS.
Any help would be gratefully received.
Thanks