开发者

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

开发者 https://www.devze.com 2023-01-08 20:22 出处:网络
If we used the jquery popup in my site, and if the user block pop in the browser. Is it works?开发者_开发技巧I\'m not quite sure how \"jQuery popup\" works, but technically:

If we used the jquery popup in my site, and if the user block pop in the browser. Is it works?开发者_开发技巧


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


@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/

0

精彩评论

暂无评论...
验证码 换一张
取 消