|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
|
<script language="javascript">
<!--
function winOpen(url, breite, hoehe) {
// Errechnet Koordinaten, um das Popup zentriert zu platzieren
links = (screen.width/2)-(breite/2);
oben = (screen.height/2)-(hoehe/2);
window.open(url,"popup","height="+hoehe+",width="+breite+",status = no,toolbar = no,menubar = no,location = no,resizable = no,titlebar = no,scrollbars = no,fullscreen = no,top ="+oben+",left ="+links);
}
//-->
</script>
|
Das funktioniert auf dem IE. Hab auch noch keinen Browser gefunden, der das Skript nicht will. (Selbst Mac nimmt das problemlos

)