Say I have two files myindex.php and windowLand.js...
myindex.php looks like this:
So I create a new window inside myindex.php. my_cool_window gets opened. windowLand.js contains the opener for the new window.Code:inside myindex.php <script src="windowLand.js"></script> <html> <body> content... </body> </html> then windowLand.js looks like this: <script> content = "<html><body>.....</html>"; newWindow = window.open('pizza.html', 'my_cool_window', ....etc); newWindow.document.write(content); </script>
Now I browse away from myindex.php...my new window is still opened but I've lost the opener to the window...how do I gain access to the new window again????