Hi Geoff,

I think the point of popup blockers is that they should be
non-detectable, otherwise every spam site would just disable it and it
would be useless.

Instead of a popup, why not use something like a modal element, which
allows you to have popup/alert like functionality by appending a div
to the current window, and making that the focus object - the user
then needs to click a button to close it.

There are a few modal plugins out there, check the plugin repository
at http://jquery.com/plugins


On 13/08/07, Geoff <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> I'm callling the $(this).click() when this is a input submit element.
> This should open a popup because the form has its target attribute set
> to another window, but if there is a popup blocker (for example
> firefox's) nothing will happen. I'd like to detect this.
>
> When you use window.open, you can check for it returning null, but I
> can't find a way of checking if the click() method worked. No
> exception and it returns the element.
>
> Anyone know how I can check for a popup blocker?
>
> Thanks!
>
> Geoff
>
>


-- 
Tane Piper
http://digitalspaghetti.me.uk

This email is: [ ] blogable [ x ] ask first [ ] private

Reply via email to