Ciao a tutti
per aprire un popup utilizzo questo codice
inserito nel primo frame:
Movieclip.prototype.centra = function (nome,titolo,lar,alt,feat){
var w = System.capabilities.screenResolutionX/2;
var h = System.capabilities.screenResolutionY/2;
var x = Math.round(w-(lar/2));
var y = Math.round(h-(alt/2));
var featx "toolbar=no,directories=no,location=no,status=no,m enubar=no,"
getURL("javascript:window.open('"+ nome + "','" + titolo + "','width=" + lar + ",height=" + alt + ",screenX=" + x + ",left=" + x + ",screenY=" + y + ",top=" + y + "," + featx + feat + "');void(0);");
}
sul codice del bottone inserisco questo codice :
on(release){
centra('prova/prova.htm','mia',700,300,'scrollbars=yes');
}
ho aggiunto
var featx ......
per non mostrare l'indirizzo della pagina popup
Però no ho l'effetto desiderato
Qualcuno sa chiarimi le idee ?
Grazie anticipatamente
Nickola
![]()

Rispondi quotando
