I am opening a pop up window but the google toolbar blocks it, i want to unblock that window using javascript.
here is code I'm using to open aspx page
Private Sub showReport(ByVal url As String)
Dim reportScript As String = " <SCRIPT
language='javascript'>" & _
"window.open('" & url & "', 'CustomPopUp', " & _
"'width=800, height=600, menubar=no, resizable=yes scrollbars=yes')" & _
"</script>"
' Add the JavaScript code to the page.
Page.RegisterStartupScript("ReportScript", reportScript)
End Sub
Help will be appreciated?
here is code I'm using to open aspx page
Private Sub showReport(ByVal url As String)
Dim reportScript As String = " <SCRIPT
language='javascript'>" & _
"window.open('" & url & "', 'CustomPopUp', " & _
"'width=800, height=600, menubar=no, resizable=yes scrollbars=yes')" & _
"</script>"
' Add the JavaScript code to the page.
Page.RegisterStartupScript("ReportScript", reportScript)
End Sub
Help will be appreciated?