eramgarden Posted September 11, 2006 Posted September 11, 2006 I have this : <body onload="window.opener=top;window.open('login.aspx','something','menubar=no,resizable=yes, height=768,width=1024');window.close()" > ... </body> Resoultion on my box is 1280x800. The width looks fine but the height looks very very long! I tried the same thing on another box with resolution of 1024x768..again the height looks very very long .I have to resize to see the bottom of page. Also tried using Page.ClientScript.RegisterStartupScript in the code behind and still the same result.. This is my other code: Dim popupScript As String = "<script language='javascript'>" & _ "window.opener=top;window.open('Login.aspx', 'CustomPopUp', " & _ "'menubar=no,resizable=yes, height=768,width=1024');" & _ "window.close()" & _ "</script>" Page.ClientScript.RegisterStartupScript(Me.GetType, "PopupScript", popupScript) what am i missing?? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.