on (release) {
getURL("javascript:var w=screen.width;var h=screen.height;var x=Math.round(w/2)-Math.round(VALORE/2);var y=Math.round(h/2)-Math.round(VALORE/2);window.open('TUAPAGINA.html','titolo','width=VA LORE, height=VALORE,left='+x+',screenX='+x+',top='+y+',s creenY='+y);void(0);");
}
Con questo script (da getURL a "); tutta in una riga), senza inserire niente nel codice html, lanci la pop up che vuoi, centrata ad ogni risoluzione; ovviamente devi sostituire "VALORE" con larghezza e altezza e TUAPAGINA con il nome del file che vuoi lanciare.

Rispondi quotando