hayleye
06-28-2007, 03:02 PM
1) Script Title: DHTML Window widget (v1.03)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ndow/index.htm
3) Describe problem:
I am using the script to popup a window pulling the content from an iframe, but I want to put a link inside that iframe that can close that popup window. The script that is provided in the notes tells me how to close the window from the 'opener' using googlewin.hide() but I can't use this in the iframe content itself.
Can anyone tell me how I close/hide the popup with a link inside the iframe html?
If I put <a href="#" onClick="googlewin.hide(); return false;">Hide Window</a> I get an error saying googlewin is not defined.
Thanks
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ndow/index.htm
3) Describe problem:
I am using the script to popup a window pulling the content from an iframe, but I want to put a link inside that iframe that can close that popup window. The script that is provided in the notes tells me how to close the window from the 'opener' using googlewin.hide() but I can't use this in the iframe content itself.
Can anyone tell me how I close/hide the popup with a link inside the iframe html?
If I put <a href="#" onClick="googlewin.hide(); return false;">Hide Window</a> I get an error saying googlewin is not defined.
Thanks