toson: "Popup" - in Falsh OK in - HTML nicht

Beitrag lesen

<a href="xyz.html"
onclick="window.open(this.href, this.target);return false;"
target="_self">Link</A>

Hi,

es öffnet sich ein neues Fenster aber er hält die einstellungen aus der function nicht, z.B. width=800 ,directories, status, menubar, scrollbars, resizable usw.
<a href="xyz.html" onClick="popup(this.href, this.target, 800, 480, 0, 0, 0, 1, 0, 0);return false;" target="_self">Link</A>

function popup(url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) {
newwin = window.open('"+url+"','"+winName+"','"+"width="+w+",height="+h+",toolbar="+toolbar+",location="+location+",directories="+directories+",status="+status+",menubar="+menubar+",scrollbars="+scrollbars+",resizable="+resizable+",top='+((screen.height/2)-("+h/1.5+"))+',screenY='+((screen.height/2)-("+h/1.5+"))+',left='+((screen.width/2)-("+w/2+"))+',screenX='+((screen.width/2)-("+w/2+"))+'"+"');
setTimeout('newwin.focus();',900);
void(0);
}
gruß toson