Click to See Complete Forum and Search --> : is there a way to know how many
pelegk1
04-15-2003, 03:01 AM
browser areopen at the moment (the check will be from a certain broswer) ,and if yes then in which url the certain window is in!
the idea is : i don't want 2 windows to e open on a certain page!
thnaks in advance
Peleg
pelegk1
04-15-2003, 07:09 AM
to acces other browsers all opened with the same domain!
that's exclly what i want!
how do i do that?
thnaks alot
peleg
pelegk1
04-15-2003, 08:00 AM
still how can i check that there are (or not) any other browser's open with the specific page that i am at the moment (assuming the all have a uniqe name)?!
khalidali63
04-15-2003, 08:55 AM
I hope you understand it from the posts above that you can only( if at all) find this out if the browser windows are opened from within the main or parent window.
If otherwise then there is no way using JavaScript to find this out.
You can use a routine like this
if (windowName.closed){
its closed
}else{
its still open
you should be able to get the url
windowName.location.href
(untested)
}
Hope this helps
Cheers
Khalid
pelegk1
04-15-2003, 09:04 AM
what u did with the code and what shoul i do so it will work!
can u explaing again the code?
thnaks in advance
peleg
pelegk1
04-24-2003, 12:41 AM
when a new window is opened as a child, ut a new window is opened from the the IE icon