怎么实现窗口自动弹出

解决方案 »

  1.   

    Response.Write("<script language=javascript>window.open('index.htm','Sample','toolbar=yes,location=no,directories=no,status=no,menubar=yes,scrollbars=no,resizable=no,copyhistory=yes,width=300,height=200,left=100,top=100')</script>");
      

  2.   

    Response.Write("<script language=javascript>window.open('????','Sample','toolbar=yes,location=no,directories=no,status=no,menubar=yes,scrollbars=no,resizable=no,copyhistory=yes,width=300,height=200,left=100,top=100')</script>");
      

  3.   

    <HTML>
    <HEAD>
    <title>WebForm1</title>
    </HEAD>
    <body MS_POSITIONING="GridLayout">
    <script language="javascript"> 
      window.open('popup.aspx','popup','width=100,height=100,top=0,left=0');
      
    </script>
    </body>
    </HTML>
      

  4.   

    那我还想问一问,就是出窗口后,我要点入下一个连接,下一个连接可以打开,可是大小却受到了限制,我要重新连接到下了一个的页面!!!当前代码:
    private void ImageButton1_Click(object sender, System.Web.UI.ImageClickEventArgs e)
    {
    this.Response.Redirect("2005_ynMInfo.mht");
    }
      

  5.   

    你的机器不能弹出窗口,那就把上网助手之类的小东西删除也许就行了,那东西有时候有用,但是有时候也挺可恶,经常与Web页面作对!