var retVal = showModalDialog('ModalDialog.html');
Where "ModalDialog.html" can be a JSP file or any URL.
This trick only works in IE 4 or better, I'm not sure if there is a Netscape
equivalent.
Burr
[EMAIL PROTECTED]
----- Original Message -----
From: vivek tiwari <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 27, 2000 9:54 AM
Subject: Modal Window
> Hi All ,
>
> In my JSP page , I do a
> var
> popupwin=window.open("1.htm","newwin","width=200,height=300");
>
> I would like to make this window modal i.e. unless
> someone clicks a button or closes this window it will
> stay on focus .
>
> Is this possible ? If yes , then how ?
>
>
> Thanks
> 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
===========================================================================
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