Tutorial :If we used the **jquery popup** in my site, and if the user block pop in the browser. Is it works?



Question:

If we used the jquery popup in my site, and if the user block pop in the browser. Is it works?


Solution:1

I'm not quite sure how "jQuery popup" works, but technically:

  • if it opens a window (window.open()) it will get blocked by every popup blocker that is around

  • if it uses DIVs to popup information (or any other HTML markup) it should work with standard popup blockers


Solution:2

@DhrubaJyoti Your answer is "Yes" your jquery popup will work even if the user has popup blockers enabled.

Popup blockers look for new "windows" (popups) to be created and then block them. However, what jquery does is not create new windows but it just creates Modal Dialog's which as standard HTML elements on the webpage with show/hide effects on it.

There is no way for a popup blocker to stop jquery dialog popups.

Examples of jQuery Dialog Popups can be found here: http://jqueryui.com/demos/dialog/


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »