|
Why can't the following code jump to index.aspx, it is not reflected, what is the problem?
string tt = "qminoa = window.open ('" + Request.ApplicationPath + "/ index.aspx" + "'"
+ ", '', 'toolbar = no, menubar = no, titlebar = yes, directories = no, resizable = yes, status = yes, fullscreen = no, top = 0; left = 0, width = 900, height = 700 '); ";
Response.Write ("<script language = javascript>");
Response.Write (tt);
Response.Write ("qminoa.moveTo (0,0);");
Response.Write ("qminoa.resizeTo (screen.availWidth, screen.availHeight);");
Response.Write ("window.opener = null;");
Response.Write ("window.close ();");
Response.Write ("</ script>"); |
|