yeah, there seems to be something wrong with this fade out.

$('fadeOutIn').set('tween', {
    duration: 1500,
    link: 'chain'
});
$('fadeOutIn').setStyle('opacity', 0).fade(1).fade(0);

--
Dimitar Christoff

"JavaScript is to JAVA what hamster is to ham"
@D_mitar - https://github.com/DimitarChristoff

On 7 May 2014, at 13:15, GraemeSCHOLAR <g.k...@hw.ac.uk> wrote:

> Well the documentation says it defaults to 'toggle' when no parameter is 
> given:
> http://mootools.net/docs/core/Fx/Fx.Tween#Element:fade
> 
> Even with 'show' and 'hide' parameters set the behaviour is still the same:
> http://jsfiddle.net/xWH4y/2/
> 
> 
> On Wednesday, May 7, 2014 1:11:07 PM UTC+1, Dimitar Christoff wrote:
> fade expects arguments to pass to tween. eg el.fade(0, 1); or el.fade(1) or 
> el.fade('in')
> 
> On Wednesday, May 7, 2014, GraemeSCHOLAR <g.k...@hw.ac.uk> wrote:
> The following jsFiddle demonstrates the Fade() function not working within an 
> onComplete function of a previous Fade: http://jsfiddle.net/xWH4y/
> 
> Replacing Fade with a basic opacity tween function gets the desired effect to 
> work.
> 
> Any idea if this is a bug or just a misunderstanding on my part?
> 
> -- 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "MooTools Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to mootools-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
> 
> 
> -- 
> Dimitar Christoff
> 
> "JavaScript is to JAVA what hamster is to ham"
> @D_mitar - https://github.com/DimitarChristoff
> 
> -- 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "MooTools Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to mootools-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"MooTools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mootools-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to