Solved

Close a Frames WebPage

Posted on 2003-11-28
2
237 Views
Last Modified: 2013-12-16
I have a frames webpage. My problem is how to close the complete page by completely closing Internet Explorer.

Is there a way how to do this?
I want to have like a hyperlink stating "Close Site" and when you click on it, the page should close.

I know it's possible to close a page by using the following: javascript:window.close(self);

This doesn't seem to work with a Frames Page, only a single page.
Could you please give me some advise

Thanks

0
Comment
Question by:esps
2 Comments
 
LVL 11

Accepted Solution

by:
Zontar earned 50 total points
ID: 9836703
<p><a href="javascript:top.close();">Close Frameset</a></p>

Bear in mind that if you didn't open this window using JS, the user will get a security warning, and there is no way around this.
0
 

Author Comment

by:esps
ID: 9848790
Zontar

Is it possible to close the current session of  Internet Explorer through a link?
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

929 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now