I'm currently using jQuery.Cycle to cycle through a few child <div>
tags. However, I want the default cycle fx to be fade
, and when I click on the next
or prev
selectors, I want the cycle fx to temporarily change to scrollRight
or scrollLeft
depending on the selector clicked.
Is this possible?
jQuery code, if necessary:
$('#banner_content').cycle({
fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
timeout: 6500,
speed: 2000,
next: $("#right_arrow a"),
prev: $("#left_arrow a"),
});