I have the following slides: 0 1 2 3 4and I want the carousel to move from 3 to 0, looking like it is moving βforwardβ by 0, instead of βbackβ by 0;
This will shift back from 3 to 0:
$("#my-carousel").carousel(slideNum);
I can force the direction using next, but it will show 3 to 4, which I don't want:
$("#my-carousel").carousel('next');
Is it possible to go from 3 to 0, forcing the direction in which you want to slide it? I am looking for something like:
$("#my-carousel").carousel(slideNum, direction);
source
share