Ciao a tutti, potreste dirmi cosa non va in questo codice?
in head ho fatto questo
in bodycodice:<script type="text/javascript"> function chiudiperdog(ss) { godog.close(); } function calcola(ss) { form.submit(); if (document.all) { var x = window.screenLeft; var y = window.screenTop; var w = window.document.body.offsetWidth; var h = window.document.body.offsetHeight; } else { var x = window.screenX; var y = window.screenY; var w = window.outerWidth; var h = window.outerHeight; } var cntx = x + Math.round((w - 300) / 2); var cnty = y + Math.round((h - 100) / 2); godog = window.open('caricamentoincorso.php','Caricamentoincorso', 'left=' +cntx + ',top=' + cnty +',width=180, height=150, scrollbars=no, resizable=no'); } </script>
ed in un campo testocodice:<body onUnLoad="chiudiperdog(ss)">
Praticamente si dovrebbe aprire un popup che al cambiamento di pagina dovrebbe richiudersi, per adesso mi si apre soltanto, non riesco a farlo chiudere!codice:<input type=file id=div onchange=calcola(this) name=filetoupload class=text>
Grazie in anticipo!

Rispondi quotando
ocColPos.bgColor;
arseInt(Mmbr.ChildCntnr.style.width);
MmbrWt):Topi-=BorderBtwnElmnts?(MmbrHt+BorderWidth)