Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [solved]need help – small problem with jquery cycle on ie6 ! Re: [solved]need help – small problem with jquery cycle on ie6 !

#78612
jamygolden
Member

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)+’‘;
};
});
});