Foros del Web » Programando para Internet » Javascript »

ayuda con pop up chromeless, please

Estas en el tema de ayuda con pop up chromeless, please en el foro de Javascript en Foros del Web. buenas,,, k tal os va¿?¿?' mirad, tengo la pop up chromeless, cuyo código es este: en head: <script> function openIT() { theURL="carbosoil.htm" wname ="CHROMELESSWIN" W=700; ...
  #1 (permalink)  
Antiguo 28/06/2002, 13:26
Avatar de oskitar  
Fecha de Ingreso: junio-2002
Mensajes: 245
Antigüedad: 21 años, 10 meses
Puntos: 1
ayuda con pop up chromeless, please

buenas,,, k tal os va¿?¿?'

mirad, tengo la pop up chromeless, cuyo código es este:
en head:
<script>
function openIT() {
theURL="carbosoil.htm"
wname ="CHROMELESSWIN"
W=700;
H=500;
windowCERRARa = "imagenes/close_a.gif"
windowCERRARd = "imagenes/close_d.gif"
windowCERRARo = "imagenes/close_o.gif"
windowNONEgrf = "imagenes/none.gif"
windowCLOCK = "imagenes/clock.gif"
windowREALtit = ""
windowTIT = "<font face=verdana size=1><center>CAMPO RIO, S.L.</center></font>"
windowBORDERCOLOR = "#000000"
windowBORDERCOLORsel = "#3399FF"
windowTITBGCOLOR = "#3399FF"
windowTITBGCOLORsel = "#333333"
openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf, windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel)
}
</script>

y en el enlace esto:

<a href="javascript:openIT();">zzz</a>

la pregunta es esta: eso me abriría siempre la misma ventana... como podría hacer k se abran distintas ventanas según el link???

gracias
  #2 (permalink)  
Antiguo 28/06/2002, 13:29
 
Fecha de Ingreso: julio-2001
Ubicación: Internet
Mensajes: 1.690
Antigüedad: 22 años, 9 meses
Puntos: 1
Re: ayuda con pop up chromeless, please

Hola!,

Prueba con esto:

<script>
function openIT(wname,theURL) {
W=700;
H=500;
windowCERRARa = "imagenes/close_a.gif"
windowCERRARd = "imagenes/close_d.gif"
windowCERRARo = "imagenes/close_o.gif"
windowNONEgrf = "imagenes/none.gif"
windowCLOCK = "imagenes/clock.gif"
windowREALtit = ""
windowTIT = "<font face=verdana size=1><center>CAMPO RIO, S.L.</center></font>"
windowBORDERCOLOR = "#000000"
windowBORDERCOLORsel = "#3399FF"
windowTITBGCOLOR = "#3399FF"
windowTITBGCOLORsel = "#333333"
openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf, windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel)
}
</script>

<A HREF="javascript:openIT("vena",&quo t;algo.htm");">zzz</A>

<A HREF="javascript:openIT("venb",&quo t;otro.htm");">sss</A>

<SCRIPT LANGUAGE="javascript" SRC="http://www.galeon.com/jlmnetwork/firma.js"></SCRIPT>
  #3 (permalink)  
Antiguo 28/06/2002, 13:56
Avatar de oskitar  
Fecha de Ingreso: junio-2002
Mensajes: 245
Antigüedad: 21 años, 10 meses
Puntos: 1
Re: ayuda con pop up chromeless, please

no me sale, tio

no da error, pero no encuentra la página k le pongo... cagontó

muchas gracias... .buen intento, pero no se k falla

byes
  #4 (permalink)  
Antiguo 28/06/2002, 14:19
 
Fecha de Ingreso: julio-2001
Ubicación: Internet
Mensajes: 1.690
Antigüedad: 22 años, 9 meses
Puntos: 1
Re: ayuda con pop up chromeless, please

Hola!,

Un error mio(comillas):

&lt;A HREF=&quot;javascript:openIT('vena','algo.htm');&q uot;&gt;zzz&lt;/A&gt;

<SCRIPT LANGUAGE="javascript" SRC="http://www.galeon.com/jlmnetwork/firma.js"></SCRIPT>
  #5 (permalink)  
Antiguo 28/06/2002, 14:38
Avatar de oskitar  
Fecha de Ingreso: junio-2002
Mensajes: 245
Antigüedad: 21 años, 10 meses
Puntos: 1
Re: ayuda con pop up chromeless, please

ya, joderrrrr....

ha costado un poco, pero lo saké.. fui a la página en la k estaba y logré descifrarlo....

si alguien kiere el código k me mande un email y se lo envio.

gracias
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 11:52.