Ver Mensaje Individual
  #3 (permalink)  
Antiguo 05/10/2005, 03:41
MikelInik
 
Fecha de Ingreso: junio-2005
Mensajes: 149
Antigüedad: 19 años, 9 meses
Puntos: 0
Pues combinado ambos codigos he conseguido lo que buscaba. Muchas gracias caricatos!!

function abrir_ventana(url,nombre,tam_x,tam_y) {
var xMax = screen.width, yMax = screen.height;
var xOffset = (xMax - tam_x)/2, yOffset = (yMax - tam_y)/2;

var ventana = window.open('','','scrollbars=no, width='+ tam_x +',height='+ tam_y +',screenX='+xOffset+',screenY='+yOffset+',top='+y Offset+',left='+xOffset+'');
with (ventana.document) {
open();
write("<html><body style='background: url(" + url + ") no-repeat center center'></body></html>");
close();
}

}