HELP - window.close()

They have: 2,390 posts

Joined: Nov 1998

If it's an image I can help...
JP

----------
[red]The Next Step in Website Development [/red] - http://www.what-next.com
The Webmaster Promotion and Resource Center

They have: 297 posts

Joined: Apr 1999

I'm lost, the type of link shouldnt matter at all Sad

What you need to do is tell not the frame to close but the window the frame is it.

Educated guess:
parent.close(); or:
top.close();

Later,

Malte

They have: 5,633 posts

Joined: Jan 1970

why can't I use the window.close() method on
a popup window that uses frames.

John Pollock's picture

He has: 628 posts

Joined: Mar 1999

I'm guessing it has to do with the frames loading several separate pages. I'm not quite sure how to close it but I'll see if I can find out. Smiling

They have: 67 posts

Joined: Aug 1999

Hi, are you wanting to close it with a text link, image or button? Thanks.
Ian

They have: 2,390 posts

Joined: Nov 1998

sorry I was being thick, parent.close() will work for a frame set window.close() for a non frameset page Smiling
JP

----------
[red]The Next Step in Website Development [/red] - http://www.what-next.com
The Webmaster Promotion and Resource Center

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.