You're welcome Barry ;)

2012/5/31 Barry vd. Heuvel <[email protected]>

> Thank you Nicolas, your code works great (with a couple modifications for
> my own case). Tnx
>
> Op vrijdag 13 april 2012 18:19:43 UTC+2 schreef Nicolas Chenet het
> volgende:
>>
>> 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