Oct 5, 2001 #1 KolNedra Programmer Oct 5, 2001 5 NL Does anyone know how to change the background color for a <td> tag when i hove my <a href...> tag ?? (that ofcourse is in that <td> tag!) ???
Does anyone know how to change the background color for a <td> tag when i hove my <a href...> tag ?? (that ofcourse is in that <td> tag!) ???
Oct 5, 2001 2 #2 Boomerang Programmer Mar 30, 2001 766 NL Hi, Is this what yopu mean? <script language="JavaScript" type="text/javascript"> function highlight(cell) { cell.bgColor = '#ffff00'; } function normal(cell) { cell.bgColor = ''; } </script> <table border=1 cellpadding=0 cellspacing=0 width=500> <tr> <td onmouseover="highlight(this)" onmouseout="normal(this)" width=200> <a href=yourpage.htm>Your Page</a> </td> <td width=300> next cell </td> </tr> </table> Upvote 0 Downvote
Hi, Is this what yopu mean? <script language="JavaScript" type="text/javascript"> function highlight(cell) { cell.bgColor = '#ffff00'; } function normal(cell) { cell.bgColor = ''; } </script> <table border=1 cellpadding=0 cellspacing=0 width=500> <tr> <td onmouseover="highlight(this)" onmouseout="normal(this)" width=200> <a href=yourpage.htm>Your Page</a> </td> <td width=300> next cell </td> </tr> </table>