Ver Mensaje Individual
  #3 (permalink)  
Antiguo 11/12/2002, 14:27
Avatar de tunait
tunait
Moderadora
 
Fecha de Ingreso: agosto-2001
Ubicación: Terok Nor
Mensajes: 16.805
Antigüedad: 22 años, 8 meses
Puntos: 381
...pues como yá me había currao la respuesta la dejo igual

Linit, añade esto en el head

<script language="javascript">
function abrirVentana()
{
ancho=(screen.width-480)/2
alto=(screen.height-477)/2
atributos="width=480,height=477,left=" + ancho + ",top=" + alto
ventana= window.open('../encuesta/procesar_enc.php?votar=true','',atributos)

}
</script>

y luego a tu botón le pides...

<input class=boton type="button" value="Votar" name="B1" onClick="abrirVentana()">

Saludos