Ver Mensaje Individual
  #1 (permalink)  
Antiguo 05/10/2004, 07:34
zmarquez
 
Fecha de Ingreso: enero-2002
Mensajes: 153
Antigüedad: 22 años, 4 meses
Puntos: 0
Acceso a fila y celda de tabla

Hola a todos.
Tengo el siguiente código HTML:

Código:
<table border="0" cellpadding="0" cellspacing="1" width="50">
	<tr height="50">
		<td height="50" width="50">
			<table border="0" cellpadding="0" cellspacing="0" width="50" height="50" class="TablaFotoOff" onmouseover="javascript:cambio(this,'On')" onmouseout="javascript:cambio(this,'Off')">
				<tr>
					<td align="center"><img src="imagen.jpg" width="50" height="50" border="0"></td>
				</tr>
			</table>
		</td>
	</tr>
	<tr id="FilaInferior">
		<td id="CeldaInferior" align="center">
			<table id="TablaInfo" border="0" cellpadding="0" cellspacing="0" class="TablaFotoOff" width="100%">
				<tr>
					<td id="CeldaNumInfo" width="25%" class="CeldaNumFotoOff" align="center">3</td>
					<td width="75%" align="center">177 Kb</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
y la idea es que la función cambio reciba la tabla y un parametro que indica si quiero el estilo On o el Off. Lo que quiero es poder acceder en la función cambio, a la FilaInferior y la CeldaInferior desde la tabla que recibo como parámetro.
¿Cómo puedo hacerlo?
Gracias