![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
03/05/2008, 10:17
|
![Avatar de JavierB](http://static.forosdelweb.com/customavatars/avatar16568_12.gif) | Colaborador | | Fecha de Ingreso: febrero-2002 Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 23 años Puntos: 772 | |
Re: Superposicion de tablas Hola gjzigaran.Bienvenido al foro.
Prueba este ejemplo:
Código:
<html>
<head>
<script type="text/javascript">
var ver=false;
function mostrar() {
ver = !ver;
document.getElementById('tabla1').style.display = ver ? 'none' : 'block';
document.getElementById('tabla2').style.display = !ver ? 'none' : 'block';
}
</script>
</head>
<body onload="setInterval('mostrar()',5000)">
<table id="tabla1">
<tr><td>Tabla 1</td></tr>
</table>
<table id="tabla2" style="display:none">
<tr><td>Tabla 2</td></tr>
</table>
</body>
</html>
Saludos, |