I'm using JQuery's Cycle plugin to assemble a slide show and enable
next / previous operations.  This is all working fine, my question is
this ... Is there a way to set the previous and next transition effect
differently from the slide shows main transition effect?

Currently my slide show slides the images in from the left
( scrollRight ), this works good for the normal function and the
'next' function ... however the 'previous' slide should scroll in from
the right ( scrollLeft ) to give the effect that we are actually going
back the other way.  Anyone know how to do this?

Thanks


<div id="slides">
  <img src="img1.jpg" />
  <img src="img2.jpg" />
  <img src="img3.jpg" />
</div>
<a id="next" href="#"> next </a>
<a id="prev" href="#"> next </a>

$('#slides').cycle({
    fx:     scrollRight',
    speed:  'fast',
    timeout: 5000,
    next:   '#next',
    prev:   '#prev'
});

Reply via email to