HighDots Forums  

List of open browser windows???

Javascript JavaScript language (comp.lang.javascript)


Discuss List of open browser windows??? in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mr. Clean
 
Posts: n/a

Default List of open browser windows??? - 08-05-2003 , 12:22 PM






Can I to get a list of all open browser windows using Javascript ?

Let's say: my html opens 4 new windows (using the function open), is there a
way to get an array windows[ ] or documents[ ] or somthing where i can access
all of them ?


Reply With Quote
  #2  
Old   
Richard Cornford
 
Posts: n/a

Default Re: List of open browser windows??? - 08-05-2003 , 01:01 PM






"Mr. Clean" <mrclean (AT) protctorandgamble (DOT) com> wrote

Quote:
Can I to get a list of all open browser windows using Javascript ?

Let's say: my html opens 4 new windows (using the function open),
is there a way to get an array windows[ ] or documents[ ] or
somthing where i can access all of them ?
Browser DOMs do not provide any properties relating to open or opened
separate windows. You may create your own array by storing the return
value from all of your calls to window.open but that will not tell you
whether the window is open or not, or whether the returned value is
actually a reference to a new window, a dummy or a reference to the
current window (or one of the many other outcomes of the use of
client-side pop-up blocking software).

Richard.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.