[thelist] Testing for the existence of a named spawned window

martin.p.burns at uk.pwcglobal.com martin.p.burns at uk.pwcglobal.com
Thu Oct 4 10:13:08 CDT 2001


Memo from Martin P Burns of PricewaterhouseCoopers

-------------------- Start of message text --------------------

Ah, that's relatively easy - in the popup, do this:
<body onBlur="Focus(this)">

(doing this from very rusty memory... the code may suck, but the
principle's right)

Cheers
Martin




Please respond to thelist at lists.evolt.org

Sent by:  thelist-admin at lists.evolt.org

To:   thelist at lists.evolt.org
cc:


Subject:  RE: [thelist] Testing for the existence of a named spawned window


Thanks for the assistance, guys. What I'm actually trying to do is create a
faux-modal window. Hence, if focus is applied to the opener and it detects
that the popup window exists, then it applies focus to the popup, making it
difficult to do anything with the opener until the popup is closed.

> <snip>
> somebody tell me how in javascript to test for the existence of a named
> >window that has been spawned from the window that is testing?



--------------------- End of message text --------------------

This e-mail is sent by the above named in their
individual, non-business capacity and is not on
behalf of PricewaterhouseCoopers.

PricewaterhouseCoopers may monitor outgoing and incoming
e-mails and other telecommunications on its e-mail and
telecommunications systems.
----------------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.





More information about the thelist mailing list