//easing: 'bounceout', delay: 6000, pagerAnchorBuilder: pagerFactory, });
$(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 '<li'+s+'><a href=\"#\">'+(idx+1)+'</a></li>'; }; });});
i've small problem with jquery-cycle and ie6
i've try a few days but i can't fix this,
here is the demo of my jquery cycle: http://dmtheme.com/jquery-cycle-demo/
can someone help me ?
thanks
Since pagerAnchorBuilder isn't followed by anything, it shouldn't have a comma following the value.
Try this:
$(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 '<li'+s+'><a href=\"#\">'+(idx+1)+'</a></li>';
};
});
});
i've update my code (both css & js + easing) at
http://dmtheme.com/jquery-cycle-demo/
it work perfect on all web browser now (ie6 included)
thanks you many time :)