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.

Reply via email to