
25/10/2005, 08:51
|
 | Colaborador | | Fecha de Ingreso: octubre-2003
Mensajes: 2.393
Antigüedad: 21 años, 4 meses Puntos: 27 | |
Yo lo hago con java no con asp quizas te muevan el tema a otro lado pero la forma en que yo lo hago es asi
<html>
<head>
<script LANGUAGE="JavaScript">
function redireccionar() {
var url640x480 = "../cargarCD800.htm";
var url800x600 = "../cargarCD800.htm";
var url1024x768 = "../cargarCD1024.htm";
var url1152x864 = "../cargarCD1024.htm";
var url1280x1024 = "../cargarCD1024.htm";
if ((screen.width == 640) && (screen.height == 480))
window.location.href= url640x480;
else if ((screen.width == 800) && (screen.height == 600))
window.location.href= url800x600;
else if ((screen.width == 1024) && (screen.height == 768))
window.location.href= url1024x768;
else if ((screen.width == 1152) && (screen.height == 864))
window.location.href= url1024x768;
else if ((screen.width == 1280) && (screen.height == 1024))
window.location.href= url1024x768;
else window.location.href= url640x480;
}
</script>
<title>titulo de tu web</title>
</head>
<body onLoad="redireccionar()">
__________________ JuanRa Pérez
San Salvador, El Salvador |