Click to See Complete Forum and Search --> : Closing a .hta window from within a frame??


mitya
10-31-2003, 09:26 AM
Hi

Can anyone tell me how to access the parent .hta window from within one of its iframes? Is it just a case of knowing javascript's heirarchy of reference?

Bascially, I have a link in the iframe which says javascript:window.close();

I expected that to shut the hta window but it won't. Yet if I put the same link in the .hta file itself (i.e. not in a frame) it closes fine.

Thanks in advance for any help.