Preserved Topic: check if the window is already open |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: Europe |
posted 06-11-2001 18:48
well, guys, I thought I already read a topic about that subject and I serached, but nope, not found. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 06-11-2001 19:03
I don't think you meant to say nw=window.focus(); I think you meant nw.focus(); instead. What nw=window.focus() does, is focuses the current window, and gives the return value of that function (which is probably "true" if the focus succeeded and "false" if it didn't) and puts it into nw, which isn't what you intended. |
Bipolar (III) Inmate From: Europe |
posted 06-11-2001 19:12
oh, I get it. it focuses the wrong window, huh? |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 06-11-2001 20:56
Hey - are you reading about those pop behind windows for the camera ads? Me too! |