John Resig schrieb:
> Don't use the javascript:void(0) stuff at all, trying this instead:
> 
> So remove this line:
>                $this.attr("href", "javascript:void(0);");
> 
> And change this:
>                $this.bind("click", function(){
>                        var name = "PopUpWindow" + index;
>                        window.open(href, name, parameters).focus();
>                        return false;
>                });
> 
> That should do the trick.

I remember slightly, that

return !window.open(href, name, parameters).focus();

was used, so that in case a popup blocker blocks the popup, the link is 
just followed the normal way.

It may not work with focus() though.




-- Klaus

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to