ho scaricato il seguente codice:
<!--
function expandingWindow(website) {
var windowprops='width=1,height=1,scrollbars=yes,statu s=no,resizable=yes,location=no'
var heightspeed = 2;
var widthspeed = 2;
var leftdist = 10;
var topdist = 10;
var lunghezza = 400;
var altezza = 400;

if(lunghezza == 0){
lunghezza = window.screen.availWidth;
}
if(altezza == 0){
altezza = window.screen.availHeight;
}

if (window.resizeTo&&navigator.userAgent.indexOf("Ope ra")==-1) {
var winwidth = lunghezza;
var winheight = altezza;
var sizer = window.open("","","left=" + leftdist + ",top=" + topdist +","+ windowprops);
for (sizeheight = 1; sizeheight < winheight; sizeheight += heightspeed)
sizer.resizeTo("1", sizeheight);
for (sizewidth = 1; sizewidth < winwidth; sizewidth += widthspeed)
sizer.resizeTo(sizewidth, sizeheight);
sizer.location = website;
}
else
window.open(website,'mywindow');
}
// -->
</SCRIPT>

mi dite come posso far comparire delle finestre che però abbiano dimensione uguale a quella della foto?
e un'altra cosa: quando apro e chiudo subito la finestra di pop-up mi da errore di script.. come lo evito?