FYI, there are some important details about this, should you decide to use it...
* This is different than using window.open() in that the child window has no relationship to the parent, i.e., you can't script from one to the other in either direction. The only exception is that you can do window.returnValue in the child, and this value will be the return value of the call to showModalDialog(). * You can pass parameters to the child via the second parameter to showModalDialog(). It can a string, array, etc. Actually, I suppose you could pass window to it and be able to script against that and get around that first rule, but I'm not sure about that. In any case, the parameters will be exposed in the child via window.dialogArguments. * The third parameter are various feature settings of the window. They include center (yes}no), dialogheight, dialogLeft, dialogTop, dialogWidth, edge (raised|sunken), help (yes|no), resizable (yes|no) and status (yes|no). * There is a corresponding showModelessDialog() method, just for completeness. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Wed, January 18, 2006 12:18 pm, Frank W. Zammetti said: > Hi Rafael, > > You can do this via scripting, but it is unfortunately AFAIK an IE-only > trick... > > window.showModalDialog("http://www.google.com","","dialogWidth:500px;dialogHeight:500px"); > > -- > Frank W. Zammetti > Founder and Chief Software Architect > Omnytex Technologies > http://www.omnytex.com > AIM: fzammetti > Yahoo: fzammetti > MSN: [EMAIL PROTECTED] > > On Wed, January 18, 2006 12:05 pm, Rafael Taboada said: >> Hi folks. I have my app where a jsp calls another jsp.. "mother" jsp >> calls >> a >> "son" jsp where the user can modify some settings.. >> >> I need the user can't use "mother" jsp till "son" jsp is closed... >> Something >> like modal and nomodal window.. >> >> Could u know kow I can do that?.. any code? >> >> Thanks in advance >> >> -- >> Rafael Taboada >> Software Engineer >> >> Cell : +511-97753290 >> >> "No creo en el destino pues no me gusta tener la idea de controlar mi >> vida" >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]