Cycle plugin: Hide Prev/Next
Hi there,
I have cycle working on a CMS setup. In some instances, the slider content area only has one image and am wondering if there is a way to hide the prev/next controls if this occurs?
My code is below:
- $(document).ready(function() {
- $('.scrollable').cycle({
- fx: 'scrollHorz',
- timeout: 0,
- next: '#next2',
- prev: '#prev2' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
- });
- });
Any help would be great,
Thanks