Ver Mensaje Individual
  #1 (permalink)  
Antiguo 08/06/2005, 04:40
silverrr111
 
Fecha de Ingreso: julio-2004
Mensajes: 45
Antigüedad: 19 años, 9 meses
Puntos: 0
Como abro diferentes popups?

Hola a todos a ver si me echais una mano. Tengo un página en Flash en la que hay diferentes botones que abren popups. Pero todos los botones me abren en la misma ventana, y lo que quiero es que cada boton tenga su propia ventanita.

el codigo que uso es este

en el html:

<script language="JavaScript" type="text/JavaScript">
<!--
function NewWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>

en el Botón:

getURL("javascript:NewWindow=window.open('http://www.miventana.html','newWin',' width=550,height=550,left='+((screen.width/2)-(" add 800/2 add "))+',top='+((screen.height/2)-(" add 500/2 add "))+',toolbar=No,location=No,scrollbars=Yes,status =No,resizable=No,fullscreen=No'); NewWindow.focus(); void(0);");