patrick.d
Threadersteller
Dabei seit: 13.01.2004
Ort: haus
Alter: -
Geschlecht: -
|
Verfasst Mo 07.06.2004 16:49
Titel pop up lässt sich nicht im safari zentrieren? |
|
|
eigentlich funktioniert alles! die zentrierung und das aufrufen des 2. pop ups läuft bei allen browsern, nur nicht im safari...
woran liegt das?
Code: | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="javascript" type="text/javascript">
<!--
url = "flashcontent/index.htm";
size_x = 775;
size_y = 520;
mX = Math.round((window.screen.width - size_x) / 2);
mY = Math.round((window.screen.height - size_y) / 2);
options = "height=" + size_y + ", width=" + size_x + ", left=" + mX + ", top=" + mY + "menubar=no, location=no, status =no,toolbar=no, location=no, resizable=no, titlebar=no, scrollbars=no, fullscreen=no";
window.open(url, "popup", options);
F1 = window.open("umzug.htm","Fenster1","width=413,height=302,menubar=no, location=no, status =no,toolbar=no, location=no, resizable=no, titlebar=no, scrollbars=no, fullscreen=no");
//-->
</script>
</head>
<body>
g
</body>
</html>
|
|
|