celle css skift ved mouseover over hel tabel
Jeg kan ikke få td'en med id head01 til at skifte farve ved mouseover over hele tebel'en..er der nogen der kan hjælpe:
<SCRIPT language="JavaScript">
<!--
function bcolor(bcol,tname)
{
if (document.all)
{
var thestyle = eval('document.all.'+tname+'.style');
thestyle.className=bcol;
}
}
//-->
</SCRIPT>
</head>
<body class="mainbg">
<div class="prod_title">Ceramics</div>
<table width="100%" border="0">
<tr>
<td width="50%" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="1" onMouseover="bcolor('prod_head_a#head01','head01');"
onMouseout="bcolor('prod_head#head01','head01');">
<tr>
<td width="1" rowspan="2"><a href="#">
<img src="../img/ceramics/1_small.jpg" width="100" height="71" border="0"></a></td>
<td id="head01" height="17" class="prod_head">01</td>
</tr>
<tr>
<td class="prod_desc">Shoes for men and women made of snake skin. All sizes.</td>
</tr>
</table>
