Hab ein Problem mein Popup-Script durch ein Formular zu starten:
Mein Popup skript:
/////////////
<script language=JavaScript type=text/JavaScript>
function openWindow(pUrl,windowName,width,height,scroll)
{
x = (640 - width)/2, y = (480 - height)/2;
if (screen)
{
y = (screen.availHeight - height)/2;
x = (screen.availWidth - width)/2;
}
if (screen.availWidth > 1800)
{
x = ((screen.availWidth/2) - width)/2;
}
if (scroll==null)
{
scroll='scrollbars=no';
}
else
{
scroll='scrollbars=yes';
}
window.open(pUrl,windowName,'width='+width+',height='+height+',screenX='+x+',screenY='+y+',top='+y+',left='+x+','+scroll);
}
</script> ";
und mein Aufruf:
<form name=pdfbasket onreset="return ResetCheck(''.$language.'')" aktion="return openWindow("'.$env_link.'/live/rs/rsprintbasket/rsprintbasketform/makepdf.php","","740","520","no")">
Danke für die Hilfe
Matthias