jQuery(document).ready(function($) { $('.slider').cycle({ fx: 'scrollHorz', // choose your transition type, ex: fade, scrollUp, shuffle, etc... timeout: 8000, pause: 1, next: '#next', prev: '#prev' }); });