Hi all,
How can I center a popup window ?
How can check the screen resolution?
here is the asp.net vb code I am using to popup the window:
Dim popupScript As String = "<script language='javascript'>" & _
"window.open('dialogAttributes.aspx', 'Attributes', " & _
"'width=300, height=300, menubar=yes, scrollbars=yes, resizable=yes')" & _
"</script>"
If (Not Me.Page.IsStartupScriptRegistered("StartUp")) Then
Me.Page.RegisterStartupScript("Startup", popupScript)
End If
thanks
jsn
How can I center a popup window ?
How can check the screen resolution?
here is the asp.net vb code I am using to popup the window:
Dim popupScript As String = "<script language='javascript'>" & _
"window.open('dialogAttributes.aspx', 'Attributes', " & _
"'width=300, height=300, menubar=yes, scrollbars=yes, resizable=yes')" & _
"</script>"
If (Not Me.Page.IsStartupScriptRegistered("StartUp")) Then
Me.Page.RegisterStartupScript("Startup", popupScript)
End If
thanks
jsn