That would be great! I've got it working with the prev/next arrows,
but our designer would also like small buttons that show the number of
slides, so users can scroll through by clicking the numbers in
addition to the prev/next arrows.

On Jun 11, 2:51 pm, Nicolas Chenet <[email protected]> wrote:
> Hi Christine,
>
> I've done this for my company's new website. It's still under development.
> I'll try to grab some lines of code to paste here...
>
> Best,
> Nicolas.
>
> 2012/6/11 cbakes <[email protected]>
>
>
>
>
>
>
>
>
>
> > 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.
>
> --
> *Nicolas Chenet*
> *Front-end Developer @ Balloon <http://www.balloonup.com>*
>
> Email: [email protected]
> Let's tweet, guys ! @nicolaschenet <https://twitter.com/#!/nicolaschenet>

Reply via email to