tra i tag <head></head>
poi nel body:codice:<script language="javaScript"> <!-- function lancia(url, titolo, larghezza, altezza,status) { var w = screen.width; var h = screen.height; var x = Math.round((w - larghezza)/2); var y = Math.round((h - altezza)/2); window.open (url, titolo, 'left=' + x + ',screenX=' + x + ',top=' + y + 'screenY=' + y +',width=' + larghezza + ',height=' + altezza +',' + status); } //--> </script>
magari si può fare in modi più semplici.... se chiedi sui forum indicati sopra ti aiuteranno di sicuro.codice:<body onLoad="javascript:lancia('pagina.html','',400,500,'');void(0);">
Cmq così funziona.
![]()

Rispondi quotando