Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/10/2004, 09:11
Avatar de Cuezaltzin
Cuezaltzin
 
Fecha de Ingreso: diciembre-2003
Ubicación: Frente al Monitor
Mensajes: 252
Antigüedad: 21 años, 3 meses
Puntos: 0
Exclamación Abrir POP UP.

Hola a todos.

Tengo mi siguiente script el cual me manda variables a dos pagians cuando se cumple cierta condicion lo que quiero hacer es que si se cumple una condicion me abra un POP UP.

Les pongo mi codigo:

<script language="javascript">
function Parametros(){


if (document.frm.txtPLA[document.frm.txtPLA.selectedIndex].value != "" || document.frm.txtMC[document.frm.txtMC.selectedIndex].value != "")
{
top.left.location.href="pagina.asp"
top.right.location.href="pagina2.asp"

return true;
}
else if (document.frm.txtPLA[document.frm.txtPLA.selectedIndex].value == "" && document.frm.txtMC[document.frm.txtMC.selectedIndex].value == "" && document.frm.txtPN.value != "")
{
top.location.href="PAgina3.asp" //Como puedo abrir aqui un POP UP


return true;
}

}
</script>

Gracias por su ayuda.
__________________
Hasta la victoria Siempre.