Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Close a Frames WebPage

Posted on 2003-11-28
2
Medium Priority
?
252 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

Understanding Web Applications

Without even knowing it, most of us are using web applications on a daily basis. Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We often confuse these web applications tools for websites.  So, what is the difference?

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
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…
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…

618 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