?
Solved

onClick close window with frameset

Posted on 1999-01-26
4
Medium Priority
?
259 Views
Last Modified: 2008-02-20
I need a script that will close a frameset, somewhat like <A HREF="javscript:self.close">Close</A>.

The above does not work in a frameset.
0
Comment
Question by:Odyssey
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 

Author Comment

by:Odyssey
ID: 1280163
Edited text of question
0
 
LVL 11

Expert Comment

by:kmartin7
ID: 1280164
Try:

<a href="JavaScript:top.window.close()">Close this window</A>

Kurt
0
 

Author Comment

by:Odyssey
ID: 1280165
Thanks.  I'll accept it as an answer if you post it.
0
 
LVL 11

Accepted Solution

by:
kmartin7 earned 240 total points
ID: 1280166
;-o
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question