Andy,
HAve you tried:
"javascript:self.close()"
Justin
--- andy@a... wrote: > Hi
>
> I have a web app which opens a framed window without
> address bar, staus
> bar etc. The window has 3 frames. The window is
> opened with the
> name 'DocWindow'
>
> In one of the frames I have a page with a close
> button. The code attached
> to this button is
> onclick="javascript:DocWindow.close()".
>
> It does not work, what am I doing wrong.
>
> I've also tried calling a separate close function in
> case it did not like
> the javascript:.... bit, but it still faulted.
>
>
> Regards
>
> Andy Green
>