Ciao,
w e h non sono definiti, manca il name della popup
o li metti nella function o nel link che richiama la funzione
Codice PHP:
<script>
function PopUpWindow(w,h) {
w=700;
h=460;
winl = (screen.width - w) / 2;
wint = (screen.height - h) / 2;
window.open('pagina.asp','nome','toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=1,width='+w+',height='+h+',top='+wint+',left='+winl);
}
</script>
[url="#"]APRI[/url]
Codice PHP:
<script>
function PopUpWindow(w,h) {
winl = (screen.width - w) / 2;
wint = (screen.height - h) / 2;
window.open('pagina.asp','nome','toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=1,width='+w+',height='+h+',top='+wint+',left='+winl);
}
</script>
[url="#"]APRI[/url]
M.