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 aroundif it uses
DIVs
to popup information (or any otherHTML 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/
精彩评论