[jQuery] cycle plugin: different fx based on prev vs. next?
Hello,
I've set up a cycle slideshow with previous/next navigation. It's
working beautifully, except for one nagging issue: I want the next
slide to slide in, so I'm using fx: 'scrollRight'. However, it's a
little disconcerting to have the scroll be to the right when clicking
the "Previous" link--it seems like the direction should be reversed.
Does anyone know if it's possible to set one fx option for next
clicks, and a different fx option for previous clicks? This is what my
code currently looks like:
$(document).ready(function(){
$('#slideshow').cycle({
fx: 'scrollRight',
timeout: 0,
next: '#next2',
prev: '#prev2'
});
});
Thanks in advance for any suggestions.