Nov 15, 2001 #1 tjohnson Programmer May 10, 2002 4 US Is it possible to make the bgcolor in a td rollover on a:hover? Tim
Nov 15, 2001 #2 BigBadDave Programmer May 31, 2001 1,069 EU Yes it is. Regards Big Dave ** If I am wrong I am sorry, but i'm only trying to help!! ** Upvote 0 Downvote
Nov 15, 2001 #3 MrGrey Programmer Nov 6, 2001 90 GB It isn't possible with a:hover. Background-color can be used but it will only change the backgrond colour of the text, not the TD. Can be done with Javascript. You'll have trouble getting this effect with NS4. Upvote 0 Downvote
It isn't possible with a:hover. Background-color can be used but it will only change the backgrond colour of the text, not the TD. Can be done with Javascript. You'll have trouble getting this effect with NS4.
Nov 15, 2001 #4 Boomerang Programmer Mar 30, 2001 766 NL This works for IE: <script> function highlight(cell) { cell.bgColor = '#ffff00'; } function normal(cell) { cell.bgColor = ''; } </script> <td onmouseover="highlight(this)" onmouseout="normal(this)"> Hope this helps, Erik Upvote 0 Downvote
This works for IE: <script> function highlight(cell) { cell.bgColor = '#ffff00'; } function normal(cell) { cell.bgColor = ''; } </script> <td onmouseover="highlight(this)" onmouseout="normal(this)"> Hope this helps, Erik