Javascript help needed

MikeMike

Lifer
Feb 6, 2000
45,885
66
91
its a 5k submission that i have to do for a class. in theory i know how everything works, in code i dont.

for right now i have 2 tables, 3x3 each. One table is on top of the other, the one on top has each cell a different color. As you roll over the cells, they should roll over to reveal a letter beneath which is in a seperate table. now the javascript is where i dont get it. how do i specify a table's individual cell?

any help would be appreciated.

MIKE
 

Beau

Lifer
Jun 25, 2001
17,730
0
76
www.beauscott.com
Do you have to use 2 tables? Can't you just set the css font-color of the cell to match it's background color, then using the onMouseOver event of the cell, change the css font-color to a contrasting shade?