
31/01/2008, 00:37
|
| | Fecha de Ingreso: noviembre-2007
Mensajes: 118
Antigüedad: 17 años, 4 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 } |