You have an extra comma in your script.
Code:
//easing: ‘bounceout’,
delay: 6000,
pagerAnchorBuilder: pagerFactory,
});
Since pagerAnchorBuilder isn’t followed by anything, it shouldn’t have a comma following the value.
Try this:
Code:
$(document).ready(function() {
/* Jquery Cycle */
$(function() {
$(‘#slideshow’).cycle({
fx: ‘scrollHorz’,
speed: 800,
timeout: 6000,
pause: true,
prev: ‘#show_prev’,
next: ‘#show_next’,
pager: ‘#nav’,
//easing: ‘bounceout’,
delay: 6000,
pagerAnchorBuilder: pagerFactory
});
function pagerFactory(idx, slide) {
var s = idx > 5 ? ‘ style=”display:none”‘ : ”;
return ‘
‘+(idx+1)+’‘;
};
});
});