Closed Thread Icon

Topic awaiting preservation: New Windows (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=7992" title="Pages that link to Topic awaiting preservation: New Windows (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: New Windows <span class="small">(Page 1 of 1)</span>\

 
Karl
Bipolar (III) Inmate

From: Phoenix
Insane since: Jul 2001

posted posted 12-20-2001 20:26

Hello,

How do you determine if a window all ready exists? I have a banner which pops up and I don't want it to pop up twice if the window all ready exists. This is causing a JavaScript error on my pages.

Thanks!

hlaford
Bipolar (III) Inmate

From: USA! USA! USA!
Insane since: Oct 2001

posted posted 12-20-2001 20:54

you could use the same "target" value in the link. if you are using javascript to open the window, you can check it's reference:

var win = window.open(...);
if(win) ...

the window.open function also takes a window name as a parameter. that should act just like the target value.

Karl
Bipolar (III) Inmate

From: Phoenix
Insane since: Jul 2001

posted posted 12-20-2001 23:35

Hmmm.... could you explain a bit further ;please?

Thanks!
Karl

« BackwardsOnwards »

Show Forum Drop Down Menu