Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/381.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net 我有错误的弹出窗口是操作右或左角?是否可以在母版中央打开_Asp.net_Javascript_Popupwindow - Fatal编程技术网

Asp.net 我有错误的弹出窗口是操作右或左角?是否可以在母版中央打开

Asp.net 我有错误的弹出窗口是操作右或左角?是否可以在母版中央打开,asp.net,javascript,popupwindow,Asp.net,Javascript,Popupwindow,我调用验证码页面作为页面中的弹出窗口winow,使用下面的语法 this.Page.ClientScript.RegisterStartupScript(this.Page.GetType(),"Test","window.open('CaptchaLogin.aspx',null,'height=200,width=500,status= no,resizable= no,scrollbars=no,toolbar=no,toolbar=no,location=centre,menubar=n

我调用验证码页面作为页面中的弹出窗口winow,使用下面的语法

this.Page.ClientScript.RegisterStartupScript(this.Page.GetType(),"Test","window.open('CaptchaLogin.aspx',null,'height=200,width=500,status= no,resizable= no,scrollbars=no,toolbar=no,toolbar=no,location=centre,menubar=no');", true);

以下是一篇关于该主题的简单文章,并附有演示:

顺便说一句,谷歌是您最好的朋友:)您可以使用数百种实现: