Ver Mensaje Individual
  #5 (permalink)  
Antiguo 18/12/2002, 06:06
Nochero
 
Fecha de Ingreso: febrero-2002
Ubicación: Mi ASP Bunker
Mensajes: 397
Antigüedad: 23 años, 2 meses
Puntos: 1
Quizas lo q necesites es abrir la pagina en modo "modal", lo q significa q tiene alta prioridad sobre el resto, y el usuario no puede hacer nada hasta q no cierre esta pagina modal.

Te paso la sintaxis y el help:

variant = object.showModalDialog(sURL [, vArguments [, sFeatures]])

Parameter Description
sURL String specifying the URL of the document to load and display. While an empty string is accepted (""), it should be noted that this is useless since once a modal dialog has been opened, it cannot be accessed by the page that opened it.

vArguments Optional. Variant specifying the arguments to use when displaying the document. This parameter can be used to pass a value of any type including an array of values. The dialog can extract the values passed by the caller from the dialogArguments property of the window object.

sFeatures Optional. String specifying the window ornaments for the dialog box. It can be a combination of the following values.

Syntax Description
dialogWidth:number Sets the width of the dialog window.
dialogHeight:number Sets the height of the dialog window.
dialogTop:number Sets the top position of the dialog window relative to the upper-left corner of the desktop.
dialogLeft:number Sets the left position of the dialog window relative to the upper-left corner of the desktop.
center:{yes | no | 1 | 0 } Specifies whether to center the dialog window within the desktop. Default is yes.

Un breve ejemplo : <BUTTON onclick="window.showModalDialog('dialog.htm')">Sea rch</BUTTON>

saludos!