Hi Burr Sutter & Wagner Danda ,

Thank You for your help . I finally managed to figure
it out for Netscape as well . Here it goes :


First way .........


*************************************************
<script language="javascript">
popup=null;
function ShowMessage(){
 popup = window.open("dbonline_popup1.jsp"
,"newwin","width=400,height=150");
popup.focus();
return true ;
}

function keep_child_on_top ()
{
        if (popup != null)
                if (popup . closed)
                        popup = null;
                else
                        popup . focus ();
}
</script>

<body onFocus="keep_child_on_top()" >
***************************************************

Second  way  .............

In the child window write :

<body onBlur="self.focus()" >

***************************************************


The second method is very harsh since the user cannot
even ALT + TAB and go to check his mail   !!!!!

Cheers
Vivek






__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to