Window.close() in frames not working?

Hi all,

I am using frames to design the web page. Now i want to close my window with an external anchor link in the web page, provided by using the window.close(). But its not working for frames.

How to resolve this.

Thank you all.

Try using top.close();

Thanking you. I have resolved the problem, by using top.close();