Hi Nicolas, Do you have link to an example?
Does this code output the code (linked numbers) for pagination? Do you need an empty div or anything in the html to hold the pagination? Thanks, Christine On Apr 13, 9:19 am, Nicolas Chenet <[email protected]> wrote: > I'm doing it like this ;) > > var slider = $("#slider-wrapper") > .carousel({ > interval: 4000 > }) > .bind('slid', function() { > var index = $(this).find(".active").index(); > $(this).find("a").removeClass('pager- > active').eq(index).addClass('pager-active'); > }); > > $("#slider-wrapper a").click(function(e){ > var index = $(this).index(); > slider.carousel(index); > e.preventDefault(); > }); > > On 10 avr, 08:14, Angad Mathur <[email protected]> wrote: > > > > > > > > > Has anyone been able to get the carousel to have pagination? > > ive tried adding scrollspy and spied on the carousel, which didnt work. > > also, i used the bootstrap pagination code and tried that way, but cant > > figure out how to link the pages to the slides in the carousel.
