Information Technology Solutions, Answers and Experts
Write an Article Ask a Question

List of open browser windows???

Mr. Clean
P: n/a
Mr. Clean
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 ?

Jul 20 '05 #1

1 Replies



Richard Cornford
P: n/a
Richard Cornford

re: List of open browser windows???

"Mr. Clean" <mrclean@protctorandgamble.com> wrote in message
news:MPG.1999964f66e94dc7989a40@news-server.austin.rr.com...[color=blue]
>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 ?[/color]

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.


Jul 20 '05 #2

Post your reply

Sign in to post your reply or Sign up for a free account.



Didn't find the answer to your question? Post your JavaScript / Ajax / DHTML question on Bytes

You can also browse similar questions: JavaScript / Ajax / DHTML

Get JavaScript / Ajax / DHTML Help

Get JavaScript / Ajax / DHTML help from a network of professionals.

Post your Question » Over 331,212 Members | 3378 Online