J'essaye de faire un diaporama dans lequel il n'y a que trois diapositives, mais chacune d'entre elles a une transition différente. Précisément, comme ceci:Plugin jQuery Cycle2 - Inverser la direction
Transition 1: droite à gauche
Transition 2: de haut en bas
Transition 3: De gauche à droite
J'ai essayé d'utiliser l'option reverse, mais il ne semble pas fonctionner sur une diapositive par diapositive.
Une idée si cela peut être fait avec Cycle2 du tout?
Voici le stylo que j'ai fait pour le tester: http://codepen.io/tinat/pen/PmOpQP
#holder{width: 30%; overflow: hidden;}
#slide1{width: 100%; background-color: red;}
#slide2{width: 100%; background-color: green;}
#slide3{width: 100%; background-color: blue;}
#slide1 img, #slide2 img, #slide3 img{width: 100%; height: auto; }
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="http://malsup.github.com/jquery.cycle2.js"></script>
<script src="http://malsup.github.io/min/jquery.cycle2.autoheight.min.js"></script>
<script src="http://malsup.github.io/min/jquery.cycle2.scrollVert.min.js"></script>
<div id="holder" class="cycle-slideshow"
data-cycle-speed="600"
data-auto-height="1"
data-cycle-loop="0.5"
data-cycle-slides="div"
data-cycle-auto-height="1:1"
data-cycle-fx="scrollHorz"
>
<div id="slide1" >
<img src="https://image.ibb.co/jUHQJ5/blank.png" />
</div>
<div id="slide2" data-cycle-fx="scrollVert">
<img src="https://image.ibb.co/jUHQJ5/blank.png" />
</div>
<div id="slide3" data-cycle-reverse="true">
<img src="https://image.ibb.co/jUHQJ5/blank.png" />
</div>
</div>