Tema: Pop up & PHP
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 31/01/2008, 00:37
vesvello
 
Fecha de Ingreso: noviembre-2007
Mensajes: 118
Antigüedad: 16 años, 5 meses
Puntos: 0
Pop up & PHP

Esta es mi cuestion...
como abrir un pop up cuando se de una condicion:


<script>
function openWindow(newUrl,windowName,windowFeatures)
{
window.open(newUrl,windowName,windowFeatures);
}
</script>


if (($_POST['login']=='testing') && ($_POST['password']=='testing')) { //OKay

?>
<a href="JavaScript:window.open('error.html','Warning ','width=200,height=200,menubar=yes,scrollbars=yes ,toolbar=yes,location=yes,directories=yes,resizabl e=yes,top=0,left=0');"></a>
<?php }