[javaEScript] popup que abre otro popup

Yurk! atujpay en gmail.com
Mar Ene 16 12:34:02 PST 2007


Saludos colisteros, tengo las siguientes funcion para abrir un popup
function openPopUp(linkURL, window_width, window_height) {
	var x_position = (screen.width - window_width) /2;
	var y_position = (screen.height - window_height) /2;
	window.open(linkURL,'popup','width='+window_width+',height='+window_height+',top='+x_position+',left='+y_position+',rezisable=yes');
}//;

window.onload = function() {
	var popup_link = document.getElementById("playbutton");
	popup_link.onclick = function() {
		openPopUp("pagina.htm", 200, 110);
		return false;
	}
}//;

Todo va bien hasta que trato de abrir otro popup a partir del que ya
esta abierto; uno de distintas dimensiones, mas ancha y mas alta.. no
lo esta haciendo, esta conservando los valores del popup que ya esta
abierto.
Espero su ayuda, gracias.
-- 


-------------------------------------------------------------
 _o)  Yurk!
  // \  Linux Registered User #418034
 U_/_

Dile NO al top-posting[*]
[*] ttp://es.wikipedia.org/wiki/Top-posting
-------------------------------------------------------------


Más información sobre la lista de distribución javaEScript