One way to accomplish this is, in the window trap window.onBlur. Once this happens
just reset the focus using windows.focus.

/Peter

-----Original Message-----
From: Richie Bab A. Boyboy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 6:05 PM
To: [EMAIL PROTECTED]
Subject: JAVASRIPT FUNCTION


Hello People!

Anybody who knows a javascript function wherein the focus will always be the
current window opened?
You cannot click on other screens unless you close the current window opened.
Just like the modal dunction in the Visaul Basic.

Thanks
Richie

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to