会不会是跟window.close();有关???
刚打开有关闭???

解决方案 »

  1.   

    //////////////////////////////////////
    window.opener = null;
    window.close();
    //////////////////////////////////////
    IE6下运行是不会有错误的,至于IE5.5或IE5.0及以下的版本,出现未知错误的可能性应该在99%以上吧。
      

  2.   

    1.确信"../MainFrame.aspx"存在
    2.加入open打开页面的装载判别
    udswin.document.readyState!='complete'
    如下:
             function window.onload(){     
    if (parent.frames.length==0)
    {
    var udswin=window.open("","","toolbar=no,status=no,resizable=no");
    while (udswin.document.readyState!='complete')
    {
    }
    udswin.moveTo(window.screen.availWidth/2-504,0);
    udswin.resizeTo(1008,window.screen.availHeight);
    }
    window.opener = null;
    window.close();              
            }