JavaScript - Striped Tables and Mouse Rollovers
This example uses hand-coded JavaScript/DOM scripting to:
- Change the colors of the alternating rows in a table
- Cause an individual row to change color when a mouse rolls over it
NBA 2010-11 Top Teams in Each Conference
| Team |
Conference |
Wins |
Losses |
| Oklahoma City Thunder |
Northwest |
55 |
27 |
| Boston Celtics |
Atlantic |
56 |
26 |
| Los Angeles Lakers |
Pacific |
57 |
25 |
| Chicago Bulls |
Central |
62 |
20 |
| San Antonio Spurs |
Southwest |
61 |
21 |
| Miami Heat |
Southeast |
58 |
24 |
NBA 2009-10 Top Teams in Each Conference
| Team |
Conference |
Wins |
Losses |
| Denver Nuggets |
Northwest |
53 |
29 |
| Boston Celtics |
Atlantic |
50 |
32 |
| Los Angeles Lakers |
Pacific |
57 |
25 |
| Cleveland Cavaliers |
Central |
61 |
21 |
| Dallas Mavericks |
Southwest |
55 |
27 |
| Orlando Magic |
Southeast |
59 |
23 |