Så kig f.eks. på denne udgave:
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
"
http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
<title>Skift Baggrund i table row</title>
<meta name="Generator" content="Stone's WebWriter 4">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
td{background:#aaa}
</style>
<script language="javascript" type="text/javascript">
function changeOver(r){
for (i=0;i<r.children.length;i++){//>
r.children[i].style.backgroundColor="#333";
}
}
function changeOut(r){
for (i=0;i<r.children.length;i++){//>
r.children[i].style.backgroundColor="#ddd";
}
}
</script>
</head>
<body>
<table>
<tr onmouseover="changeOver(this);" onmouseout="changeOut(this);">
<td width="100" height="100" style="font-family:verdana;font-size:12px;font-weight:800;color:#936">Oprettet</td>
<td width="100" height="100" style="font-family:verdana;font-size:12px;font-weight:800;color:#936"> </td>
<td width="100" height="100" style="font-family:verdana;font-size:12px;font-weight:800;color:#936"> </td>
<td width="100" height="100" style="font-family:verdana;font-size:12px;font-weight:800;color:#936"> </td>
</tr>
<tr onmouseover="changeOver(this);" onmouseout="changeOut(this);">
<td width="100" height="100" style="font-family:verdana;font-size:12px;font-weight:800;color:#936">Oprettet</td>
<td width="100" height="100" style="font-family:verdana;font-size:12px;font-weight:800;color:#936"> </td>
<td width="100" height="100" style="font-family:verdana;font-size:12px;font-weight:800;color:#936"> </td>
<td width="100" height="100" style="font-family:verdana;font-size:12px;font-weight:800;color:#936"> </td>
</tr>
<tr onmouseover="changeOver(this);" onmouseout="changeOut(this);">
<td width="100" height="100" style="font-family:verdana;font-size:12px;font-weight:800;color:#936">Oprettet</td>
<td width="100" height="100" style="font-family:verdana;font-size:12px;font-weight:800;color:#936"> </td>
<td width="100" height="100" style="font-family:verdana;font-size:12px;font-weight:800;color:#936"> </td>
<td width="100" height="100" style="font-family:verdana;font-size:12px;font-weight:800;color:#936"> </td>
</tr>
</table>
</body>
</html>