Sebastian Becker: Popupfenster

Beitrag lesen

Hallo,

versuch's mal so:

Sebastian

<html>
<head>
<title>Fenster mit JavaScript</title>

<script type="text/javascript">
<!--
function PopupFenster(w,h)
{
options = 'width='+w+',height='+h;
F = window.open("datei.htm","Popup",options);
}

}
// -->
</script>

</head>

<body>
<p><a href="javascript:PopupFenster(400,300)">Fenster anzeigen</a></p>
</body>
</html>