Closed rowild closed 10 years ago
Could it be that beforeAniFunc, afterAniFunc and the others don't work with the fullscreen solution? This just won't work:
var container = $("#container"), sudoSlider = $("#slider").sudoSlider({ effect: "blinds1,blinds2,fold,reveal,slice,sliceReverse,sliceRandom,sliceReveal,sliceRevealRandom,sliceRevealReverse,sliceFade,zip,unzip,boxRandom,fade,fadeOutIn", // Up, Right, Down, Left responsive: true, prevNext: true, prevHtml: '<a href="#" class="prevBtn"><i class="fa fa-chevron-left"><span class="hide">previous</span></i></a>', nextHtml: '<a href="#" class="nextBtn"><i class="fa fa-chevron-right"><span class="hide">next</span></i></a>', continuous: true, // last and first image connect again; keeps pres and next btn visible all the time autoHeight: false, touch: true, customLink: ".sudoSliderLink", // active state of the dot navigation updateBefore: true, speed: 2500, auto: true, beforeAniFunc: function(t){ console.log("Before Animation test"); }, afterAniFunc: function(t){ console.log("After Animation test"); } });
I've renamed beforeAniFunc and afterAniFunc in 3.0.
Now they are beforeAnimation and afterAnimation. See an example here: http://webbies.dk/assets/files/SudoSlider/package/demos/basic%20callbacks.html
Could it be that beforeAniFunc, afterAniFunc and the others don't work with the fullscreen solution? This just won't work: