June 28th, 1999, 01:20 PM
I need a way to verify whether a window is
already open before writing to it to prevent the script from reopening the frame file and wiping out the associated history files. So far I have had no luck with checking for the window name.
June 29th, 1999, 09:51 AM
1- You could write a cookie when you open the window and check for the cookie each time you want to write to the window. Don't forget to change the cookie when you close the window.
Matthew J. Flynn
October 28th, 1999, 08:35 AM
You can use the "closed" property of a window.
var winTest = window.open("whatever.html");
You can also use this on the window.opener object:
The problem I've run into is if you open a window, then go back to the opener window and change URL's. Then try to access the window.opener object from the opened window, you no longer have access.
"It's not where you're from, it's where you're at." S. Dogg