![triste](http://static.forosdelweb.com/fdwtheme/images/smilies/frown.png)
![borracho](http://static.forosdelweb.com/fdwtheme/images/smilies/borracho.png)
Código PHP:
function inicio(){
ventana = window.open("zona1.htm", "_blank", " resizable,height=1,width=1,top=x,left=y,screenX=x,screenY=y");
abre();
}
onClick="inicio()"
Ayudadme, que codigo tengo que poner si quiero que la funcion inicio tenga una variable (ya que tengo mas hipervinculos para mas popups) y que esa variable quede arriba de una forma asi pero correcta:
OnClicK="inicio(1)"
function inicio(num){
theurl= zona."num".".htm";
ventana = window.open(theurl,"_blank", " resizable,height=1,width=1,top=x,left=y,screenX=x, screenY=y");
abre();
}
Esa es la idea de como kiero hacerlo, pero alguien sabe hacerlo para que funcione?
![borracho](http://static.forosdelweb.com/fdwtheme/images/smilies/borracho.png)