Ver Mensaje Individual
  #2 (permalink)  
Antiguo 20/12/2005, 04:45
Avatar de KarlanKas
KarlanKas
Moderador extraterrestre
 
Fecha de Ingreso: diciembre-2001
Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 23 años, 2 meses
Puntos: 61

Prueba con esto:

Código PHP:
<html>
<
head>
<
style>
#tabla800{
display:none;
}
#tabla1024{
display:none;
}
</
style>
<
script>
function 
MostrarTabla(){
document.getElementById("tabla"+screen.width).style.display="block";
}
</script>
</head>
<body onload="MostrarTabla()">
<table id="tabla800" width="760">
<tr>
<td>
Hola 800
</td>
</tr>
</table>
<table id="tabla1024" width="1000">
<tr>
<td>
Hola 1024
</td>
</tr>
</table>
</body>
</html> 
Esto tiene un problema y es el derivado de que te visiten con una resolución distinta a 800x600 o a 1024x800.
Un saludo!
__________________
Cómo escribir

No hay pregunta tonta, sino tonto que quiere seguir en la ignorancia.