Ver Mensaje Individual
  #9 (permalink)  
Antiguo 23/09/2005, 17:30
Avatar de Heros
Heros
 
Fecha de Ingreso: abril-2005
Mensajes: 69
Antigüedad: 19 años
Puntos: 1
hice esto... para usar el poder lanzar el popup.... pero no consigo todavia lanzar el popup


Código PHP:
if ((isset($HTTP_POST_VARS["MM_insert"])) && ($HTTP_POST_VARS["MM_insert"] == "formulario")) {

$insertGoTo"reportegeneral.php?id_proyecto=".$HTTP_GET_VARS['id_proyecto']."&id_localidad="$HTTP_POST_VARS['IdLocalidad'] ;
echo 
"<script language='JavaScript'>";
echo 
"javascript:poptastic('$insertGoTo')";
echo 
"</script>"

y en la parte de construir el javascript hice esto:
Código HTML:
<script language="JavaScript" type="text/javascript">
var newwindow;
function poptastic(url)
{
	newwindow=window.open(url,'name','height=600,width=800');
	if (window.focus) {newwindow.focus()}
}
</script>
</HEAD>