bowfine
07-30-2003, 04:19 PM
Greetings,
I think there is a simple answer to this question. In the main browser window (it has frames) I have a link to open a pop-up window. In the pop-up window I have another link.
What I want to happen is when I click on the link in the pop-up window, I want to close the pop-up window and load the link in the main browser window.
This is the code that I have and it works almost right. The only problem is that the main browser window has frames and it loads on the top frame and does not get rid of the bottom frame.
How do i do it so that it loads onto the whole page and not just the top frame.
<a href="javascript:void 0;" onclick="window.opener.location='/mb/hd/vision.asp'; window.close(); return false;" target="_parent">Click here</a>
Thanks.
Sneha
I think there is a simple answer to this question. In the main browser window (it has frames) I have a link to open a pop-up window. In the pop-up window I have another link.
What I want to happen is when I click on the link in the pop-up window, I want to close the pop-up window and load the link in the main browser window.
This is the code that I have and it works almost right. The only problem is that the main browser window has frames and it loads on the top frame and does not get rid of the bottom frame.
How do i do it so that it loads onto the whole page and not just the top frame.
<a href="javascript:void 0;" onclick="window.opener.location='/mb/hd/vision.asp'; window.close(); return false;" target="_parent">Click here</a>
Thanks.
Sneha