711
04-15-2009, 05:20 PM
This script:
http://www.dynamicdrive.com/dynamicindex11/highlighttable.htm
...is almost exactly what I'm trying to accomplish, with two differences. The above script applies itself to every cell expect those specified not to (whereas I want it to apply only to those it's specifically told to apply to). Secondly, and more complicatedly, I need the script to highlight both the cell moused over, and another specified cell as well. To demonstrate what I mean, the table looks like this:
CELL1 | CELL2
CELL3(A) | CELL4(B)
CELL5(B) | CELL6
CELL7(A) | CELL8
What I want is when either CELL3 or CELL7 is moused over, both cells will become highlighted, and when either CELL4 or CELL5 is moused over, both of THOSE cells will be highlighted, that is, mousing over 3 highlights 3 and 7, mousing over 4 highlights 4 and 5, mousing over five highlights 4 and 5, and mousing over 7 highlights 3 and 7.
Thanks in advance for any assistance. I'm very helpless.
http://www.dynamicdrive.com/dynamicindex11/highlighttable.htm
...is almost exactly what I'm trying to accomplish, with two differences. The above script applies itself to every cell expect those specified not to (whereas I want it to apply only to those it's specifically told to apply to). Secondly, and more complicatedly, I need the script to highlight both the cell moused over, and another specified cell as well. To demonstrate what I mean, the table looks like this:
CELL1 | CELL2
CELL3(A) | CELL4(B)
CELL5(B) | CELL6
CELL7(A) | CELL8
What I want is when either CELL3 or CELL7 is moused over, both cells will become highlighted, and when either CELL4 or CELL5 is moused over, both of THOSE cells will be highlighted, that is, mousing over 3 highlights 3 and 7, mousing over 4 highlights 4 and 5, mousing over five highlights 4 and 5, and mousing over 7 highlights 3 and 7.
Thanks in advance for any assistance. I'm very helpless.