Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to start carousel other then first item on page loading

In certain case i want to start the owl carousel from >3 item i.e carousel by defult shows item from 3rd number.. i have seen the documentation their is no such customization option available.How i can achieve this.

like image 725
Ammar Hayder Khan Avatar asked Apr 28 '14 07:04

Ammar Hayder Khan


People also ask

How do you show half items in Owl carousel?

just add margin and change number of items from 1 to 1.5 or 1.4 or what you want. Save this answer. Show activity on this post. Save this answer.

How do you show only one item on Owl carousel?

If you want the Owl Carousel only display one image at a time instead of a few images, please pass the option singleItem: true in the object, the setup codes should be: $(document).

How do you change transitions in Owl carousel?

Use transitionStyle option to set transtion. There are four predefined transitions: "fade" , "backSlide" , goDown and scaleUp . You can also build your own transition styles easily. For example by adding "YourName" value transitionStyle: "YourName" , owlCarousel will add .


1 Answers

in own carousel-2:

owl.owlCarousel({
    startPosition: 2
});
like image 154
webdevanuj Avatar answered Sep 16 '22 14:09

webdevanuj