 
			
				08/11/2005, 10:35
			
			
			     |  
        |     |    |    Fecha de Ingreso: marzo-2003  
						Mensajes: 997
					  Antigüedad: 22 años, 7 meses Puntos: 1     |        |  
  |      pop up que cambie de tamaño segun contenido        hola me gustaria que me dijierais si es posible hacer que un popup cambie segun el contenido de el mismo   
he probado este script :  
function cambia(){ 
var isNN,isIE; 
if (parseInt(navigator.appVersion.charAt(0))>=4){ 
isNN=(navigator.appName=="Netscape")?1:0; 
isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;} 
Resize() 
function Resize(){ 
if (isIE){ 
window.resizeTo(100,100); 
width=100-(document.body.clientWidth-document.width); 
height=100-(document.body.clientHeight-document.height); 
alert(document.height);} 
window.resizeTo(width,height); 
window.moveTo((screen.width-width)/2,(screen.height-height)/2);} 
if (isNN){ 
window.moveTo((screen.width-(document.width))/2,(screen.height-(document.height))/2) 
window.innerWidth=document.width; 
window.innerHeight=document.height;} 
} 
} 
</SCRIPT>   
pero en fire funciona pero en ie no sabeis pro que?   
un saludo           |