
19/12/2005, 05:31
|
| | Fecha de Ingreso: mayo-2004
Mensajes: 57
Antigüedad: 20 años, 10 meses Puntos: 0 | |
Has de hacerlo con una funcion javasrcipt
<script language='JavaScript'>
var newwindow;
function popup(url)
{ newwindow=window.open(url,'name','width=550,height =270,left=200,top=300');
if (window.focus) {newwindow.focus()}
}
</script>
La llamda seria (para una url_que quieras pasandole una variable)
onClick=\"popup('../url_que_quiera.php?variable=$variable'); return false;\"
p.e.
echo "<td class='texto'><a href=\"../url.php?variable=$variable\" onClick=\"popup('../url.php?noticia=$noticia'); return false;\">$titular</a></td>\n"; |