How to Reverse owl carousel slider slide from right to left

Uttam Panara picture Uttam Panara · Dec 5, 2014 · Viewed 21.3k times · Source

I want to reverse slider for Arabic language so slider behavior reverse.

Prevoius [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] Next

Assume that here 1 to 10 is block that content some heading and description.

so here i want reverse of these sequence 1th is at position of 10th and 10th is at 1th position so what should i do?

Finally i want

Next [10] [9] [8] [7] [6] [5] [4] [3] [2] [1] Prevoius

Answer

marijose rf picture marijose rf · Dec 5, 2014

Here's the specification to scroll from right to left:

http://www.owlcarousel.owlgraphic.com/demos/rtl.html

As you can see it's simply using the owl variable rtl giving it a true value like so:

$('.your-carousel').owlCarousel({ rtl:true });