ok ma io credo di essere "tonto" perchè :
//creo la variabile globale
var w = null ;
apro la popup
function popupnew(id_periodo)
{
var w = window.open('mia.asp','Dettagli','left=20,top=20,w idth=700,height=630,toolbar=0,resizable=0,scrollba rs=1,menubar=0,status=0,directories=0');
w.focus();
}
//valuto la proprietà screentop:
function testh()
{
alert(w.screenTop);
}
a questo punto ho un errore
Errore: w has no properties
Riga: 553
![]()
![]()
![]()