Ver Mensaje Individual
  #11 (permalink)  
Antiguo 04/03/2008, 10:57
Avatar de tunait
tunait
Moderadora
 
Fecha de Ingreso: agosto-2001
Ubicación: Terok Nor
Mensajes: 16.805
Antigüedad: 22 años, 8 meses
Puntos: 381
Re: Marquesina continua ayuda.

mmm ... puedes hacerlo más sencillo. Aplícale un margen a algún lado a las imágenes con css

Código HTML:
<style type="text/css">
#fuera img{
	margin-left: 5px;
}
</style> 
y la misma cantidad (5 en el ejemplo) la has de sumar en la última función del script

Código:
function reDimCapas(){
for(m=0;m<imagenes.length;m++){
	tam +=document.getElementById('ima'+m).width + 5
	document.getElementById('imas').style.left = (-tam +10);
	document.getElementById('imas').style.width = tam ;
	document.getElementById('imas2').style.width = tam;
	}
}
Con eso debería bastar