christina: Größe von Fenster (nicht durch Link)!

Beitrag lesen

<script>

function doThePopUp(){
reWin=window.open(theUrl,'hell','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=200,height=300,top=100,left=100')
}
<script>

<a href="javascript:doThePopUp()">Open Popup</a>

<script>

theUrl = 'thePopupPage.html'
lockU = 1
function doAgain(){
if (lockU == 1){
reWin=window.open(theUrl,'','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=200,height=300,top=100,left=100')
}
}
</script>

<body onunload="doAgain()">

<a href="javascript:lockU=0;self.close()">Close This</a>