close.window and frames is it possible???

They have: 100 posts

Joined: Sep 1999

One of the people at the firm I work for has requested that I put a close window button in an HTML Help pop-up window. It really doesn't need it, waste of time, but they pay the bills so...

I can write code that closes a single window but this doc is frames so I need to close the entire framed pop-up window. I believe JavaScript was designed to prevent close.window from working on other windows?

Can anyone help me?

They have: 56 posts

Joined: Feb 2000

can you do a target=top? can you do a "bust out of frames" javascript? or maybe you can hide the frame but not actually romove it. check out
http://216.10.4.112/forums/showthread.php?threadid=11642

The trouble with doing something right the first time is that nobody appreciates how difficult it was.

They have: 100 posts

Joined: Sep 1999

it turns out that the target should be "top"

<script language="JavaScript">

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.