Salve a tutti, dato questo script :
Movieclip.prototype.premuto = function(nome) {
var ciccio = "img/"+nome+".jpg";
var w = System.capabilities.screenResolutionX/2;
var h = System.capabilities.screenResolutionY/2;
var x = Math.round(w-(larg/2));
var y = Math.round(h-(alt/2));
getURL("javascript:window.open('"+ciccio+"','"+tit olo+"','width="+larg+",height="+alt+",screenX="+x+ ",left="+x+",screenY="+y+",top="+y+","+feat+"');vo id(0);");
delete ciccio;
};
come fare affinchè la foto richiamata sia automaticamente centrata nel pop-up??

Rispondi quotando