crei tre files, test1.html, test2.html, test3.html
test1.html
codice:
<html>
<head>
<script type="text/javascript">
var aa=null;
function apri(url) {
aa = window.open (url,'titolo','toolbar=no,scrollbars=yes,resizable=yes,width='+(screen. Width)+',height=420,status=no,directories=no,menubar=no,top=0,left=0');
aa.focus();
}
</script>
</head>
<body onLoad="apri('test2.html')";>
</body>
</html>
test2.html
codice:
<html>
<head>
<script type="text/javascript">
var aa=null;
var w=screen.width;
var h=screen.height-420;
function apri(url) {
aa = window.open (url,'altro','toolbar=no,scrollbars=yes,resizable=yes,width=w,height=h,status=no,directories=no,menubar=no,top=420,left=0');
aa.focus();
}
</script>
</head>
<body onLoad="apri('test3.html')";>
</body>
</html>
test3.html
codice:
<html>
<head>
</head>
<body>
<h1> Ciao!</h1>
</body>
</html>
Modifica gli eventi che aprono la pagina a tuo piacimento.
Ciao