Ver Mensaje Individual
  #3 (permalink)  
Antiguo 23/07/2009, 10:34
Avatar de Avatar810
Avatar810
 
Fecha de Ingreso: agosto-2007
Ubicación: Por rumbos Regios
Mensajes: 485
Antigüedad: 16 años, 9 meses
Puntos: 23
Respuesta: script ocultar/mostrar

si estas usando el codigo tal cual lo pones no debes tener ese problema

Código HTML:
<script>
function cambiarDisplay(id) 
{
	if (!document.getElementById) 
		return false;
	fila = document.getElementById(id);
	if (fila.style.display != "none") 
		fila.style.display = "none"; //ocultar fila
	else 
		fila.style.display = ""; //mostrar fila
}
</script>
<body>
<table width="300" height="30" border="1" cellpadding="0" cellspacing="0">
	<tr id="row1" onClick="cambiarDisplay('row2')">
		<td background="menu/agitadores-on.gif"></td>
	</tr>
</table>
<table width="300" height="100" border="0" cellpadding="0" cellspacing="0">
	<tr id="row2" style="display:none">
		<td><img src="ima2.jpg" width="360" height="241" /></td>
	</tr>
</table>
<table width="300" height="100" border="0" cellpadding="0" cellspacing="0">
	<tr id="row3" style="display:">
		<td><img src="ima1.jpg" width="360" height="241" /></td>
	</tr>
</table>
</body> 
Si tienes un detalle particular, coloca tu codigo y vemos en donde esta el detalle
Saludos
__________________
Una demo siempre funcionará correctamente hasta que toque algo tu (hasta ahora) cliente.
Avatar810