I'm trying to replicate the use of 'scrollHorz' using the 'custom' effect in jquery cycle but I can't figure out how to specify two different sets of effects with animIn, animOut so that the correct one would be applied based on either prev or next button clicked. Can this be done?
The code below always scrolls left:
$("#content").cycle({fx: 'custom',cssFirst: {left:0},cssBefore: {top:0, left: 1600, opacity:0, display: 'block'},animIn: {top: 0, left:0, opacity: 1},animOut: {left:-1600, top: 0, opacity:0},cssAfter: {zIndex:0, opacity:0}, speed: 1000,prev: "#left",next: "#right",timeout: 0
});