Ver Mensaje Individual
  #5 (permalink)  
Antiguo 19/07/2005, 10:11
Avatar de chalchis
chalchis
 
Fecha de Ingreso: julio-2003
Mensajes: 1.773
Antigüedad: 21 años, 7 meses
Puntos: 21
Hola amigos ya tengo la solucion

function cForm(form){
var winl = (screen.width - 650) / 2;
var wint = (screen.height - 500) / 2;
winprops = 'height=500,width=650,top='+wint+',left='+winl+',s crollbars=yes,resizable=yes,status=yes'
win = window.open("", "myWin", winprops)


form.target='myWin';
form.action='vista.php'
}

<form>

<input type="Submit" name="antes" value="Vista previa" onclick="cForm(this.form)" >&nbsp;
<input type="Submit" name="Submit" value="Enviar" onclick="this.form.target=''">&nbsp;
</form>
__________________
gerardo