
03/11/2005, 08:37
|
| | Fecha de Ingreso: noviembre-2004
Mensajes: 90
Antigüedad: 20 años, 3 meses Puntos: 0 | |
¿por qué no funciona este código? <html>
<head>
<title>Documento sin título</title>
</head>
<body>
<script language="javascript">
var hz=window.screen.height;
var wz=window.screen.width;
document.write("La resolución de la pantalla es:<br>");
document.write("Ancho: " + wz + "<br>");
document.write("Alto: " + hz + "<br>");
</script>
<%
if wz < "800" then
%>
<table width="780" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>Esta es la resolución de 800 </td>
</tr>
</table>
<%
else
%>
<table width="780" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>Esta es la resolución de más de 800 </td>
</tr>
</table>
<%
end if
%>
</body>
</html> |