[jQuery] Re: Check if window exists before opening

2008-07-03 Thread Sam Sherlock
this is some I am thinking about and an approach that I may take, have'nt got to that stage yet but window.closed looks good http://bytes.com/forum/thread91209.html 2008/7/3 Bruce MacKay [EMAIL PROTECTED]: More searching has led me to a solution, and another question

[jQuery] Re: Check if window exists before opening

2008-07-03 Thread Alexandre Plennevaux
On Thu, Jul 3, 2008 at 8:17 AM, Sam Sherlock [EMAIL PROTECTED] wrote: this is some I am thinking about and an approach that I may take, have'nt got to that stage yet but window.closed looks good http://bytes.com/forum/thread91209.html 2008/7/3 Bruce MacKay [EMAIL PROTECTED]: More

[jQuery] Re: Check if window exists before opening

2008-07-02 Thread Bruce MacKay
More searching has led me to a solution, and another question $(a.openW).click( function() { var sTarget = this.href; if (!winRef.open){ winRef=window.open(sTarget); return false; }else {