Solved

Close a Frames WebPage

Posted on 2003-11-28
2
239 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

773 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