How to Change Owl Carousel Slide, depending on current Time...?

Posted 1 month ago by nikhil_lu210

I have some predefined Carousel Item based on Time. As example: Carousel-01 (Time: 8.30) Carousel-02 (Time: 9.35) Carousel-03 (Time: 10.20)

Now, when the time is greater then 8.30 then, I want to show the Carousel-02 (Time: 9.35) as the active carousel item. When the time is greater then 9.35 then, I want to show the Carousel-03 (Time: 10.20) as the active carousel item. And, When the time is greater then 10.20 then, I want to show the Carousel-01 (Time: 8.30) as the active carousel item. So, what can I do.

[[ Note: I'm using Owl-Carousel 2 ]]

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.