![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
09/09/2005, 09:31
|
![Avatar de onlykfk](http://static.forosdelweb.com/customavatars/avatar113307_1.gif) | | | Fecha de Ingreso: agosto-2005 Ubicación: 20°45' Latitud Norte 100°
Mensajes: 121
Antigüedad: 19 años, 5 meses Puntos: 1 | |
El metodo para abrir un popup y ke puedas pasar datos entre el mismo y su parent es el sig:
La ke manda hablar el popup:
<html>
<script>
function abrirModal(){
retorno = showModalDialog("modal.html", "_blank", 'dialogWidth:480px;dialogHeight:640px;dialogTop:75 px;dialogLeft:125px;status=no');
alert(retorno);
}
</script>
<body>
<a href="javascript:abrirModal();">prueba</a>
</body>
</html>
El popup
<html>
<body>
<a href="#" onclick="javascript: parent.window.returnValue='Hello world'; window.close(); ">Llamada a retornar</a>
</body>
</html>
Saludos
__________________ Yo tan sólo se, que no he senado |