![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
28/11/2008, 12:24
|
![Avatar de ACX_POISON](http://static.forosdelweb.com/customavatars/avatar229523_1.gif) | | | Fecha de Ingreso: abril-2008 Ubicación: Talca-Chile
Mensajes: 750
Antigüedad: 16 años, 10 meses Puntos: 7 | |
Respuesta: colores de celdas bueno me resulto esta funcion Cita: <script language="javascript">
function mostrar(id1,id2,id3)
{
document.getElementById(id1).style.backgroundColor ='#EfFAC5'
document.getElementById(id2).style.backgroundColor ='#EfFAC5'
document.getElementById(id3).style.backgroundColor ='#EfFAC5'
}
function ocultar(id1,id2,id3)
{
document.getElementById(id1).style.backgroundColor =''
document.getElementById(id2).style.backgroundColor =''
document.getElementById(id3).style.backgroundColor =''
}
</script> EJ Cita: <table width="300" border="1">
<tr id="f1" onmouseover="mostrar('f1','f2','f3')" onmouseout="ocultar('f1','f2','f3')">
<td> </td>
<td> </td>
</tr>
<tr id="f2" onmouseover="mostrar('f1','f2','f3')" onmouseout="ocultar('f1','f2','f3')">
<td> </td>
<td> </td>
</tr>
<tr id="f3" onmouseover="mostrar('f1','f2','f3')" onmouseout="ocultar('f1','f2','f3')">
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table> si hay alguna sugerencia para mejorarla no vendria mal
__________________ Me junto con los que Saben, Queriendo Saber. |