Aqui copio la programacion por si alguien sabe como debo ponerlo para que funcione tambien en Firefox. Podria sacar la de Netscape y reemplazar por Firefox.
Muchas gracias por su colaboracion.!
Código :
<html>
<head>
<title> Redirección </title>
<script language="javascript">
if (window.screen){
var w = screen.width; // ancho de la pantalla
if(document.layers){ // Netscape reconoce la propiedad layers IE no
if(w >= 740 && w < 835){
window.location.href="index2.html";
}
if(w >= 835){
window.location.href="index1.html";
}
}
if(document.all){
if(w >= 740 && w < 835){
window.location.href="index2.html";
}
if(w >= 835){
window.location.href="index1.html";
}
}
}
</script>
</head>
<body>
</body>
</html> 