In the page you want to replace, you could write a function that does this,
or you can use
<body onload="window.location.replace('url')">
-----Original Message-----
From: Larry Guayante [mailto:larryg@p...]
Sent: Tuesday, March 13, 2001 2:43 PM
To: javascript
Subject: [javascript] How to break out of browser window
I use the following function and link to create a small browser window to
view the scripture reading for one sunday (this works fine).
**********************************************************************
function OpenBrWindow(theURL,winName,features) {
window.open(theURL,winName,features);
The browser is opened wh
<a href="#"
onClick="OpenBrWindow('sundayreading1.asp','sundayreading','scrollbars=yes,w
idth=350,height=350')">
***********************************************************************
I put a link in the new browser window giving the user the option to go to a
new page containing all the sunday scripture readings. The problem is that
the new page loads within the new browser window--I want the new window to
replace the parent window (the window that called the small browser window).
How do I do this?
Larry Guayante
Knowledge Outlook
"performance, process, and learning solutions"
larry@k... <mailto:larry@k...>