[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

How to keep users from shutting down web site when clicking on red X button when viewing child pages.

Posted on 2008-02-05
3
Medium Priority
?
174 Views
Last Modified: 2013-12-24
When users are drilling down to a child web page within my site, I would like to keep them from accidentally shutting down the whole site when they click on the Red X on the page.  I have done this myself when the only thing I wanted to do is close that particular window.  I have pictures that have a link to other pages within my site.  I though I had it figured out by selecting the Target Frame within the Hyperlink and setting it to use a New Window.  Worked great.  If they closed the page, the main web page was there!  The problem is, if they use the "UP" from the Link Bar, then the child page  stays open and when they want to shut down, now they have multiple pages to shut down.  Obviously that will not make a happy user and looks sloppy. Is there a way I can I have my cake and eat it too without a lot of code since I am a really new at this.  Thanks in advance for the help.  If this is harder than what it should be, then I will bump the numbers up more.    
0
Comment
Question by:MrGD
  • 2
3 Comments
 
LVL 29

Expert Comment

by:coreybryant
ID: 20836919
I have not used the FP navigation in such a long time, I am trying to remember what "up" is.  

But re-reading your question, it sounds like you have a new window opened (which you would like) but now you have a number of pages opened which you don't like?  It needs to be one or the other, you can't open a new browser window and not have the browser windows opened

-Corey
0
 

Author Comment

by:MrGD
ID: 20852923
I already have the open browser window which works and solved half of my problem, but is there a way to add a close statement which would be fire when the user left the window.  In VB or VBA forms it is called lostfocus (I believe).  I could always loose the Link Bar and just add buttons to the forms for navigation if I had to, but thought there should be a better way.
0
 
LVL 29

Accepted Solution

by:
coreybryant earned 600 total points
ID: 20853997
You can use JavaScript to close the window but if you use target="_blank", most users will get a Warning message.  

Pop-up Close Methods:  http://www.cgiscript.net/cgi-script/csNews/csNews.cgi?database=js_windows%2edb&command=viewone&id=9&op=t

-Corey
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Question has a verified solution.

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

When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to Import and export files in WordPress. 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 : Click on Too…
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

590 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