I use PHP and very simple Javascript to generate popup windows to show users more information about items in a list. Even though the popups are user generated by a click on a link with an onClick=window.open() command, sometimes those popups are blocked. In this case, the user's browser does nothing but skips to the top of the page. It only happens occasionally, but it's always the same thing -- an active popup blocker.
Once we identify the blocker and either disable it, or "allow" my website, the user is ok, but it makes the site look inefficient. In a recent case, I had a user who had been with me for months suddenly couldn't use the site because of this. He swore he had disabled his blocker, but when questioned closely about any recent changes to his system , he remembered that a technician had put a copy of AdAware on his system. When he disabled that, everything was fine. So it turned out he had a double layer of blockers. If both of us had not taken the time to troubleshoot this problem, I would have lost a customer.
Here is the simple code I use to generate links:
<A HREF="#"onClick="window.open('showitempop.php?stocknum=$sn','photoWindow',photo_popup_features);return false;\">
"showitempop.php" is my script that arranges the contents of the window. The list is generated by a database that returns the Stock numbers. This is the reason I want to use popups in the first place. Once the list is generated by a search request to the database, I don't want to disturb it in its window. I want the detailed information to appear, then when the user closes the window, he can go to the next item on the list without repeating the search.
Is there something I am missing WRT the operation of popup blockers? I don't realy want to get into really fancy coding to avoid blockers for the few times this materializes. The real problem is that I don't know how much business I am missing because people visit and simply think "the site doesn't work".
If anybody wants to see the site, it's:
Thanks for your time in considering my problem.
Roy
Once we identify the blocker and either disable it, or "allow" my website, the user is ok, but it makes the site look inefficient. In a recent case, I had a user who had been with me for months suddenly couldn't use the site because of this. He swore he had disabled his blocker, but when questioned closely about any recent changes to his system , he remembered that a technician had put a copy of AdAware on his system. When he disabled that, everything was fine. So it turned out he had a double layer of blockers. If both of us had not taken the time to troubleshoot this problem, I would have lost a customer.
Here is the simple code I use to generate links:
<A HREF="#"onClick="window.open('showitempop.php?stocknum=$sn','photoWindow',photo_popup_features);return false;\">
"showitempop.php" is my script that arranges the contents of the window. The list is generated by a database that returns the Stock numbers. This is the reason I want to use popups in the first place. Once the list is generated by a search request to the database, I don't want to disturb it in its window. I want the detailed information to appear, then when the user closes the window, he can go to the next item on the list without repeating the search.
Is there something I am missing WRT the operation of popup blockers? I don't realy want to get into really fancy coding to avoid blockers for the few times this materializes. The real problem is that I don't know how much business I am missing because people visit and simply think "the site doesn't work".
If anybody wants to see the site, it's:
Thanks for your time in considering my problem.
Roy