Ver Mensaje Individual
  #4 (permalink)  
Antiguo 29/03/2005, 08:16
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 23 años
Puntos: 772
Hola NeonDD. Bienvenido al foro.

Te pongo un ejemplo:
Código PHP:
<html>
<
head>
<
script type="text/javascript">
function 
aparecer() {
  
tab=document.getElementById('tabla');
  
tab.style.display=(tab.style.display=='none') ? '' 'none';
}
</script>
</head>
<body>
<img src="tuimagen.jpg" onclick="aparecer()" />
<table id="tabla">
<tr><td>Celda 1</td></tr>
</table>
<table>
<tr><td>Celda 2</td></tr>
</table>
</body>
</html> 
Saludos,