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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to handle pop up blockers ? 1

Status
Not open for further replies.

sweth

IS-IT--Management
Mar 2, 2002
98
IN
Hi all,
Our asp.net application has lots of pop up for search and select. If user has pop up blocker, it will be difficult for them to swith off it and gain swith on it. Although google and yahoo pop up blocker has Safe list, but we cannt assume what pop up blocker will be used by user.
But i see annoying pop ups even when i turn pop up blocker on.
Is there any solution for this ?
Also another query if i expire cache i get warning:page Expired error user has to hit refresh key.
Any solution for this ?

Thanks and Regards
Siva
 
There's no solution to this other than coding your app not to use pop-ups.

The google bar "safe list" is cool - I didn't know it had that feature.

But I think you just need to educate the users to turn off their pop-up blocker when accessing your site.

Imagine if your app could tell it to allow the popup -- then all the sites that we want to block (spam, sex sites, etc) would use that technique too. Which is not the purpose of a pop-up blocker!

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Most pop-up blockers won't block those pop-ups associated with direct user interaction (such as the click of a button or something).

I haven't looked into it, but I've wondered how some of them handle a javascript call to button.click();
 
are the popups shown upon user intervention? if so, use
<a href="..." target="_blank">
to avoid popups

this will allow you to change the window position only from whithin the page that has already opened

also, using a small javascript function you can verify if the user has a popup blocker enabled and ask him to disable it for your domain, or make a mark somewhere in a Session varibla and don't try to use them for that user.

--------------------------
"two wrongs don't make a right, but three lefts do" - the unknown sage
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top