有时个打开页面会弹出对话框显示是否停止运行此脚本?此页面上的脚本造成INTERNET EXPLORER 运行速度减慢,如果继续运行,您的计算机将停止响应,本教程为大家提供解决方法
这里针对NSIS脚本结构一一都做了详细解释
关闭窗体 1. this.btnClose.Attributes.Add("onclick", "window.close();return false;"); 2.关闭本窗体间跳转到另一个页面 this.HyperLink1.NavigateUrl = "javascript:onclick=window.opener.location.assign ('" + "index.aspx"+ "?&Func=Edit&AutoID=" + intAutoid + ');window.close();"; 3.关闭父窗体: <INPUT type="reset" value=' <%=this._Cancel%>' onclick="window.parent.close()" Class="Button"> 4.关闭本弹出窗体,并刷新父页面 this.Response.Write(" <script language='javascript'>window.opener.location.reload();window.close(); </script>");