Ver Mensaje Individual
Antiguo 10-feb-2008, 17:07   #2 (permalink)
shakaran
shakaran tiene algunos puntos positivos de karma
 
Avatar de shakaran
 
Fecha de Ingreso: agosto-2005
Ubicación: España - Ciudad Real
Mensajes: 244
Enviar un mensaje por MSN a shakaran Enviar un mensaje por Skype™ a shakaran
Re: Efecto Mootools tras cargar peticion Ajax

He conseguido avanzar en el problema. Ahora ya funciona, pero la altura "parpadea" del total a 0 y luego hace el efecto.

Este el código:
Código:
onSuccess: function()
{
	$('test').setHTML(this.response.text)
	var actualHeight=$('test').getStyle('height').toInt() //PROBLEM: In this point the effect "flicker" of actualHeight to 0 on next line
	$('test').setStyle("height", 0);//Set height to 0
	new Fx.Style('test','height',{wait:false,duration: 3000,transition:Fx.Transitions.Bounce.easeOut}).start(0,actualHeight)
}
Bueno al menos funciona bien, pero si se podría mejorar lo del parpadeo.
__________________
Blog: shakaran.es
Mi proyecto de rol online: www.apogeus.es
shakaran está desconectado   Responder Citando