Ver Mensaje Individual
  #4 (permalink)  
Antiguo 23/05/2006, 10:57
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 22 años, 3 meses
Puntos: 772
Hola de nuevo.
Código PHP:
<html>
<
head>
<
script type="text/javascript">
function 
color(check)
{
check.parentNode.parentNode.style.backgroundColor = (check.checked)? "#FF1010" "#DADADA";
}
</script>
</head>
<body>
<table>
<tr>
<td>------</td>
<td>------</td>
<td><input type="checkbox" onclick="color(this)" /></td>
</tr>
</table>
</body>
</html> 
Saludos,