Please explain! I can't get this to work. Could you show the js and markup
that you used in the end please?
On Thursday, 9 February 2012 17:18:26 UTC, yankeyhotel wrote:
>
> Ok I figured it out. I was sending a string instead of a number to
> the .carousel function which was confusing it. Now it works!!!
>
> $("#carousel_dots a").click(function(){
> var clas = $(this).parent().attr("class");
> var item = Number(clas.substr(5));
> $('#home_carousel').carousel(item);
> return false;
> });
>
>
> hope this helps.