Code:
<script language=JavaScript>
<!--
var popUpWin=0;
function popUp(URLStr)
{
if(popUpWin)
{
if(!popUpWin.closed) popUpWin.close();
}
var width="300", height="125";
var left = (screen.width/2) - width/2;
var top = (screen.height/2) - height/2;
popUpWin = window.open(URLStr,
popUpWin,
toolbar='no',
location='no',
directories='no',
status='no',
menubar='no',
scrollbars='no',
resizable='no',
copyhistory='yes',
width='+width+',
height='+height+',
left='+left+',
top='+top+',
screenX='+left+',
screenY='+top+');
}
//-->
</script>
</head>
<body onLoad="{$onload}; IEsetup()">
[...]
$this->tpl->assign('onload', 'popUp(\'index.php?sek=quick_message_show\');');
es öffnet sich nen pop up aber nicht mit dem inhalt
das parent fenster wechselt auch die´url komisch komisch
Kommentar