Nov 15, 2001 #1 tjohnson Programmer Joined May 10, 2002 Messages 4 Location US Is it possible to make the bgcolor in a td rollover on a:hover? Tim
Nov 15, 2001 #2 BigBadDave Programmer Joined May 31, 2001 Messages 1,069 Location 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 Joined Nov 6, 2001 Messages 90 Location 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 Joined Mar 30, 2001 Messages 766 Location 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