?
Solved

onClick close window with frameset

Posted on 1999-01-26
4
Medium Priority
?
256 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
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…
Suggested Courses

800 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