The syntax for delay is wrong. You can't call it after calling the start function, instead it is the call of start we're delaying. I wasn't able to use JsFiddle - image paths don't work.
FxFadeBande.start(1,0).chain(function(){ this.start.delay(1000, [0,1]); }); The second parameter of delay is the arguments you want to call start with. On 2012-01-08, at 10:24 AM, Mathieu Urstein wrote: > hello everyone, > I try to make a little slideshow. > My main problem is that i'm unable to make this line working: > > FxFadeBande.start(1,0).chain(function() > { this.start(0,1).delay(1000); }); > > Here is a fiddle to understand: > http://jsfiddle.net/MojoMateo/QRg8q/1/ > > that line have to make the class : "bande" fade out and after a secnd > fade in after the id "droite1" is cliced. > > Where is/are the mistakes?