Home › Forums › CSS › [solved]need help – small problem with jquery cycle on ie6 ! › Re: [solved]need help – small problem with jquery cycle on ie6 !
June 24, 2010 at 1:20 am
#78612
jamygolden
Member
You have an extra comma in your script.
Code:
//easing: ‘bounceout’,
delay: 6000,
pagerAnchorBuilder: pagerFactory,
});
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
});‘+(idx+1)+’‘;
};
});
});
/* 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 ‘
};
});
});