Foros del Web » Programando para Internet » Javascript »

popup a pelo

Estas en el tema de popup a pelo en el foro de Javascript en Foros del Web. Hola a todos, Tengo una página en html, i desde esta lanzo un popup hecho con flash, hasta ahí bien. 1. Es posible con html, ...
  #1 (permalink)  
Antiguo 11/04/2007, 05:11
 
Fecha de Ingreso: marzo-2007
Mensajes: 22
Antigüedad: 17 años, 1 mes
Puntos: 0
popup a pelo

Hola a todos,

Tengo una página en html, i desde esta lanzo un popup hecho con flash, hasta ahí bien.

1. Es posible con html, que cuando aparece el popup no salga el recuadro típico de las ventanas de explorer ( con el titulo de la web, minimizar, maximizar i cerrar)?????

2. Cuando aparece el popup, me bloquea el contenido activex, hay alguna manera de que eso no acurra?

Muchas gracias
  #2 (permalink)  
Antiguo 12/04/2007, 03:00
Avatar de kaninox  
Fecha de Ingreso: septiembre-2005
Ubicación: In my House
Mensajes: 3.597
Antigüedad: 18 años, 7 meses
Puntos: 49
Re: popup a pelo

pues hasta donde yo se no se puede, el recuadro sale si o si, ahora lo que yo he visto son ventanas flash tipo pop ups y ventanas de ajax tipo pop up...
pero nunca me he topado con hacer una :P

y pues lo del activex me parece que lo puedes arreglar pero en tu pc solamente, o sea que no sirve de mucho porque a los demas usuarios tendran que arreglarlo tambien y pues digamos que algunos ni se dan la molestia :P

saludos
__________________
Gokuh Salvo al mundo. PUNTO!!!!
  #3 (permalink)  
Antiguo 12/04/2007, 03:26
 
Fecha de Ingreso: marzo-2007
Mensajes: 22
Antigüedad: 17 años, 1 mes
Puntos: 0
Re: popup a pelo

Gracias kaninox.

Ya me lo imaginaba....pues nada, a apechugar, jeje.

Un saludo!
  #4 (permalink)  
Antiguo 12/04/2007, 06:10
Avatar de DragonX
Colaborador
 
Fecha de Ingreso: mayo-2002
Ubicación: Funkyland
Mensajes: 8.433
Antigüedad: 22 años
Puntos: 177
Re: popup a pelo

Cita:
Iniciado por rcosta Ver Mensaje
Hola a todos,

Tengo una página en html, i desde esta lanzo un popup hecho con flash, hasta ahí bien.

1. Es posible con html, que cuando aparece el popup no salga el recuadro típico de las ventanas de explorer ( con el titulo de la web, minimizar, maximizar i cerrar)?????
mmm.....creo que no.
Cita:
Iniciado por rcosta Ver Mensaje
2. Cuando aparece el popup, me bloquea el contenido activex, hay alguna manera de que eso no acurra?
poné este script antes de cerrar el </body>

Código HTML:
if (navigator.appName == "Microsoft Internet Explorer") {
	
	//Array of elements to be replaced
	var arrElements = new Array(3);
	arrElements[0] = "object";
	arrElements[1] = "embed";
	arrElements[2] = "applet";

	
	//Loop over element types
	for (n = 0; n < arrElements.length; n++) {
	
		//set object for brevity
		replaceObj = document.getElementsByTagName(arrElements[n]);
		
		//loop over element objects returned
		for (i = 0; i < replaceObj.length; i++ ) {
		
			//set parent object for brevity
			parentObj = replaceObj[i].parentNode;
			
			//grab the html inside of the element before removing it from the DOM
			newHTML = parentObj.innerHTML;
			
			//remove element from the DOM
			parentObj.removeChild(replaceObj[i]);
			
			//stick the element right back in, but as a new object
			parentObj.innerHTML = newHTML;
		
		}
	}
}	
function AleSanz(ventana){ 
        window.open(ventana,"","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,copyhistory=0,top=50,left=20,width=754,height=464")
}
function correctPNG() // correctly handle PNG transparency in Win IE 5.5 or higher.
   {
   for(var i=0; i<document.images.length; i++)
      {
	  var img = document.images[i]
	  var imgName = img.src.toUpperCase()
	  if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
	     {
		 var imgID = (img.id) ? "id='" + img.id + "' " : ""
		 var imgClass = (img.className) ? "class='" + img.className + "' " : ""
		 var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
		 var imgStyle = "display:inline-block;" + img.style.cssText 
		 if (img.align == "left") imgStyle = "float:left;" + imgStyle
		 if (img.align == "right") imgStyle = "float:right;" + imgStyle
		 if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle		
		 var strNewHTML = "<span " + imgID + imgClass + imgTitle
		 + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
	     + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
		 + "(src=\'" + img.src + "\');\"></span>" 
		 img.outerHTML = strNewHTML
		 i = i-1
	     }
      }
   }
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//--> 
__________________
Desarrollos dosLotos
Calendario Maya, Meditación, Osho
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 01:39.