I have created a schedule grid and I am looking for a way to allow users to click on the UK hour and then have the corresponding U.S time highlighted. Is there a CSS solution for this? The functionality I need is to be able to select multiple hours. I have found some examples but they only work with one div.
https://i.sstatic.net/XlZGm.png
The grid was built using tables, so my code resembles something like this:
<table>
<tr class="booked">
<th><a href="">00 am</a></th>
<th><a href="">01 am</a></th>
<th><a href="">02 am</a></th>
<th><a href="">03 am</a></th>
<th><a href="">04 am</a></th>
<th><a href="">05 am</a></th>
<th><a href="">06 am</a></th>
<th><a href="">07 am</a></th>
<th><a href="">08 am</a></th>
<th><a href="">09 am</a></th>
<th><a href="">10 am</a></th>
<th><a href="">11 am</a></th>
</tr>
<tr class="booked_active">
<th>4 pm</th>
<th>5 pm</th>
<th>6 pm</th>
<th>7 pm</th>
<th>8 pm</th>
<th>9 pm</th>
<th>10 pm</th>
<th>11 pm</th>
<th>12 am</th>
<th>1 am</th>
<th>2 am</th>
<th>3 am</th>
</tr>
</table>
Please note: There will be a total of 7 grids, one for each day of the week.