<form name="form1" method="post" action='main.php' onsubmit='window.open("","winName","fullscreen=1")' target=winName>
     .
     .
     //若干需要向main.php传递的参数.
     .
     .
</form>

解决方案 »

  1.   

    <object id="closes" type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11" width="0" height="0">
    <param name="Command" value="Close">
    </object>
    <script>function wqp()
    {
        window.open(top.location,'RUNMIT_EIAS','resizable=yes,scrollbars=auto,toolbar=no,location=0,menubar=no,status=yes,fullscreen=1');
        window.focus();
        document.closes.Click();
    }
    if(window.name != "RUNMIT_EIAS") wqp();
    </script>
      

  2.   

    <form name="form1" method="post" action='main.php' onsubmit='window.open("","winName","fullscreen=1")' target=winName>