I think no the way that you said.

解决方案 »

  1.   

    <script>
    a=window.open("asp.aspx","","height=200")
    </script>
    <body onfocus="if(a) a.focus()" onload="setInterval('if(a) a.focus()',100)">
      

  2.   

    net_lover(孟子E章)的办法不错:
    只是在关闭了打开的那个页面时会报客户端错误啊!
      

  3.   

    请参考 http://aspnet.4guysfromrolla.com/articles/030202-1.aspx 正好可以你的问题。说的很详细。有例子。
      

  4.   

    if(a && !(a.closed))
    但不推荐这个办法。(从用户角度考虑)
    如果你不要用户操作这个窗口大可关闭之。
    window.opener = null;
    window.close();