Solved

Close a Frames WebPage

Posted on 2003-11-28
2
236 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
Comment Utility
<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
Comment Utility
Zontar

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

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
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…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

771 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