wOp
Mitglied
Folgender Quelltext funktioniert im Internet Explorer wunderbar, sowie in Firefox - unter Opera allerdings nicht.. er lädt das Fenster korrekt, zeigt mir aber keinen Inhalt an.
<!--
function messageWindow(title, msg, width, height)
{
var left = (screen.width/2) - width/2;
var top = (screen.height/2) - height/2;
var styleStr = 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+',top='+top+',screenX='+left+',screenY='+top;
var msgWindow = window.open("","msgWindow", styleStr);
var head = '<head><title>'+title+'</title></head>';
var body = '<body topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"><img src=" '+msg+ '"></body>';
msgWindow.document.write(head + body);
}
<!--
SOS
<!--
function messageWindow(title, msg, width, height)
{
var left = (screen.width/2) - width/2;
var top = (screen.height/2) - height/2;
var styleStr = 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+',top='+top+',screenX='+left+',screenY='+top;
var msgWindow = window.open("","msgWindow", styleStr);
var head = '<head><title>'+title+'</title></head>';
var body = '<body topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"><img src=" '+msg+ '"></body>';
msgWindow.document.write(head + body);
}
<!--
SOS