Highlight cell when hover over?
Posted 24 March 2006 - 03:42 PM
Well guess I should have googled first, pretty easy
<td bgcolor="#FFFFFF" onmouseover="style.backgroundColor='#84DFC1';" onmouseout="style.backgroundColor='#FFFFFF'"> </td>
Posted 24 March 2006 - 08:37 PM
Posted 24 March 2006 - 08:51 PM
2nd question: set the <a> tag to display as a block and use it to surround everything in the cell.
Posted 25 March 2006 - 12:22 PM
I also have a question very similiar to this. How do you create a cell where the whole row is a link, not just the text?
Or you can do:
<tr> <td style="background-color:#FFFFFF" onmouseover="this.style.backgroundColor='#EEEEEE'" onmouseout="this.style.backgroundColor='#FFFFFF" onclick="window.location='otherpage.php'">Text in row</td> </tr>
Windows XP (with SP2), 1680x1050, PHP 4, MySQL 3, Internet Explorer 6 &7 /FireFox 2.0/Opera 9.2
Simple Introduction to AJAX and XMLHttpRequest
Creating Live Data with AJAX Making a Google Suggest like application
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users