Log in

View Full Version : DHTML Window - Link to parent window



FlippantBum
12-09-2005, 06:47 PM
Script: DHTML Window
http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow.htm

I'm hoping this is quite simple, but I am honestly not sure.

I'm wondering how to form a link in the "popup" window that will close the popup and change the parent page to the desired location.

Thank you.

jscheuer1
12-09-2005, 07:49 PM
The easiest way is to have a link like so on your page being displayed inside of the pop up:


<a href="somepage.htm" target="_top">Link Text</a>

FlippantBum
12-09-2005, 09:33 PM
Sweet, thank you kindly.

The target="_top" is precisely what I was needing.