Ver Mensaje Individual
  #2 (permalink)  
Antiguo 05/07/2004, 22:15
Avatar de andinistas
andinistas
 
Fecha de Ingreso: julio-2003
Ubicación: Bogotá COL
Mensajes: 1.000
Antigüedad: 20 años, 9 meses
Puntos: 0
ok

tienes que utilizar javascript, aquí un código:

<script language="JavaScript">
function abrirpopup(theURL,winName,features, myWidth, myHeight, isCenter) { //v3.0
if(window.screen)if(isCenter)if(isCenter=="true"){
var myLeft = (screen.width-myWidth)/2;
var myTop = (screen.height-myHeight)/2;
features+=(features!='')?',':'';
features+=',left='+myLeft+',top='+myTop;
}
window.open(theURL,winName,features+((features!='' )?',':'')+'width='+myWidth+',height='+myHeight);
}
</script>


luego lo llamas desde el vinculo así.

puedes interrumpir el php

cerrando el tag cuando llegues a la ventana popup

?>

<a href="javascript:;abrirpopup('popup.htm','popupwin ','status=yes scrollbars=yes','480','500','true')">ABRIR POPUP</a>

<?
//continue php
__________________
Un Saludo, Andinistas.
"Llegaron... Ellos tenían la biblia y nosotros la tierra... y nos dijieron: 'Cierren los ojos y recen.' Cerramos los ojos y cuando los abrimos,
ellos tenían la tierra y nosotros la biblia." Abadío Green.

Última edición por andinistas; 05/07/2004 a las 22:16