?
Solved

Close a Frames WebPage

Posted on 2003-11-28
2
Medium Priority
?
250 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
[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 Comments
 
LVL 11

Accepted Solution

by:
Zontar earned 200 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
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…
Suggested Courses

764 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