问题描述
你好朋友,
我正在使用asp.net c#
我的要求是我想要的将弹出窗口设置在屏幕中央...
目前它显示在屏幕顶部。
这是代码,我已经写过弹出窗口。
ScriptManager.RegisterStartupScript(this,this.GetType(),RunCode,javascript:alert('Record added successfullyfully') ); document.location.href ='Home.aspx';,true);
请帮助我,如何在屏幕中央显示。
谢谢。
Hello FRIENDS,
am working on asp.net c#
My requirement is i want to make the popup window in center of screen...
Presently it is displaying in the top of screen.
This is the code, that i have wrote for popup.
ScriptManager.RegisterStartupScript(this, this.GetType(), "RunCode", "javascript:alert('Record added Successfully');document.location.href='Home.aspx';", true);
Please help me, how to display in the center of screen.
Thanks.
这篇关于如何在屏幕中心制作javascript弹出窗口以进行验证。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!