Forum Moderators: open

Message Too Old, No Replies

Redirecting page.

Redirect another page to another page

         

mshahMCS

3:55 pm on Jul 21, 2003 (gmt 0)

10+ Year Member



I have two web pages open, call it page1, and page2.

I have it so that page1 opens a popup containing page2.

Now I want page2 to redirect page1 to another page. Is this possible? Any help is appreciated.

-Thank you

korkus2000

5:05 pm on Jul 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If I understand what you are asking this should work.

function changeMainPage(){
window.opener.location.href="newlocation.htm";
}

You want a popup to change the location of the window that opened it?