Ver Mensaje Individual
  #10 (permalink)  
Antiguo 03/03/2010, 15:41
Avatar de ElJavista
ElJavista
Colaborador
 
Fecha de Ingreso: marzo-2007
Ubicación: Lima Perú
Mensajes: 2.231
Antigüedad: 17 años, 2 meses
Puntos: 67
Respuesta: Agregar funcion a un boton.

Si se puede, sería así:

Código PHP:
<script type="text/javascript">
function 
abrirPopup() {
  
window.setTimeout("abrirP()"10000);
}

function 
abrirP() {
   
window.open("tupagina.html");
}
</script> 
En este caso el navegador espera 10 000 milisegundos para que se abra el popup. Ah! y si quieres saber como agradecerme, la respuesta también es simple y concreta: envíame dinero.