Foros del Web » Programando para Internet » Javascript »

Como abro un popup cuando selecciono un Check box

Estas en el tema de Como abro un popup cuando selecciono un Check box en el foro de Javascript en Foros del Web. Como abro un popup cuando selecciono un Check box...
  #1 (permalink)  
Antiguo 30/05/2006, 11:13
Avatar de alvgutierr  
Fecha de Ingreso: mayo-2006
Ubicación: Santiago Chile
Mensajes: 42
Antigüedad: 18 años
Puntos: 0
Como abro un popup cuando selecciono un Check box

Como abro un popup cuando selecciono un Check box
  #2 (permalink)  
Antiguo 30/05/2006, 11:21
Avatar de JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 22 años, 2 meses
Puntos: 772
Hola alvgutierr

Supongo que te refieres a esto:
Código:
<input type="checkbox" onclick = "if (this.checked) window.open('tupagina.html')" />
Saludos,
  #3 (permalink)  
Antiguo 30/05/2006, 11:23
 
Fecha de Ingreso: mayo-2005
Mensajes: 73
Antigüedad: 19 años
Puntos: 0
<input type="checkbox" onclick="abrepopup()">

function abrepopup()
{
window.open('nombre ventana',"aki las caracteristicas con las k kieres abrir tu popup como status, height, width, etc");
}
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 08:21.