Ver Mensaje Individual
  #4 (permalink)  
Antiguo 15/09/2004, 08:34
JuanCarlos
 
Fecha de Ingreso: noviembre-2003
Ubicación: En lo mas profundo de tu alma.
Mensajes: 93
Antigüedad: 20 años, 6 meses
Puntos: 0
Aberlo dicho antes...........

<script language='javascript'>

var funcion_popupWindow=null;

function funcion_popup(mi_pagina,mi_nombre,w,h,pos,infocus) {

if(pos=='random'){

LeftPosition=(screen.width)?Math.floor(Math.random ()*(screen.width-w)):100;

TopPosition=(screen.height)?Math.floor(Math.random ()*((screen.height-h)-75)):100;}

if(pos=='center'){

LeftPosition=(screen.width)?(screen.width-w)/2:100;

TopPosition=(screen.height)?(screen.height-h)/2:100;}

else if((pos!='center' && pos!='random') || pos==null){LeftPosition=100;TopPosition=100;}setti ngs='width='+ w + ',height='+ h + ',top=' + TopPosition + ',left=' + LeftPosition + ',location=no,directories=no,menubar=no,toolbar=no ,status=no,scrollbars=no,resizable=no,dependent=no ';

funcion_popupWindow=window.open('',mi_nombre,setti ngs);

if(infocus=='front'){funcion_popupWindow.focus();f uncion_popupWindow.location='URL_del_popup';}

}

//-->

</script>



<body onUnload="funcion_popup('URL_del_popup','funcion_p opup','200','250','','front');">
__________________
Los consejos son ayuda, no cabe duda...

Pero no olvides que la solución de nuestros problemas está dentro de nosotros mismos.

C. Torres Pastorino.


Hasta luego..................... :adios: