Ver Mensaje Individual
  #3 (permalink)  
Antiguo 05/08/2002, 09:34
all-ill
 
Fecha de Ingreso: junio-2002
Mensajes: 750
Antigüedad: 22 años, 9 meses
Puntos: 22
Re: Como abro una ventana 800x600 centrada?


Podría ser algo así:
___________________________________________
alto=600
ancho=800
win=window.open(URL,"","height=&quo t;+alto+",width="+ancho+"")

//las siguientes 2 líneas son para centrar

lefts=(screen.width -ancho)/2
tops=(screen.height- alto)/2

win.moveTo(lefts,tops)
____________________________________________

Hasta luego!!