Ver Mensaje Individual
  #1 (permalink)  
Antiguo 01/05/2003, 11:53
Avatar de Sperrit
Sperrit
 
Fecha de Ingreso: marzo-2003
Ubicación: Valenciennes, Francia
Mensajes: 117
Antigüedad: 21 años, 10 meses
Puntos: 0
Como inserto el 'target' en un window.location?

Saludos a todos...

Este es el codigo que utilizo para redireccionar segun la resolucion:

var url800x600="http://url1.htm";
var url1024x768="http://url2.htm";
if ((screen.width == 800) && (screen.height == 600))
window.location.href=url800x600;
else if ((screen.width == 1024) && (screen.height == 768))
window.location.href=url1024x768;
else window.location.href= url1024x768;

Pero necesitaria que tanto url1 como url2 se abran en un frame concreto... Como puedo insertar el nombre del frame?

Muchas gracias