Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unblock popup windows

Status
Not open for further replies.

aajaydee

Technical User
Oct 16, 2005
39
US
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?
 
What would be the point of a popup blocker if you could side step it using JavaScript?

Maybe there is a way via script... but I'm unaware of it.

I think the user needs to tell Google's popup blocker to allow popups from your site.

Senior Software Developer
 
I do not know which user is using popup blocker
in my application I need to used calender and other pop up stuff
not all user are computer savvy
so I need to disable popup blocker so they do not need to any thing and can be able to see the popup windows
what I search so far there is property name
pupUpBloke need to false
but not sure how to use it
thanks

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top