didgydont Posted July 12, 2009 Share Posted July 12, 2009 hi all lets says i have a table <table> <tr style='background-color: yellow;'><td>col1box1</td><td>col1box2</td><td>col1box3</td></tr> <tr style='background-color: purple;'><td>col2box1</td><td>col2box2</td><td>col2box3</td></tr> <tr style='background-color: yellow;'><td>col3box1</td><td>col3box2</td><td>col3box3</td></tr> </table> is it possible to make it if you move the mouse over say col2box2 the tr goes red but if you move it over col2box3 it goes green or can you only change the td colour thank you for your time Quote Link to comment Share on other sites More sharing options...
JD* Posted July 12, 2009 Share Posted July 12, 2009 You could have some javascript on each td that would reference the mouse over, pass the name of the td the mouse is currently over and update the background color of the tr. Quote Link to comment Share on other sites More sharing options...
didgydont Posted July 12, 2009 Author Share Posted July 12, 2009 thank you im not real familiar with java script so will give it a miss for now and do a bit of reasearch on java script Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.