So i have an Owl Carousel that contains three images. I also added custom navigation arrows (.png images) on left and right sides. However, those arrows are currently useless, because I can't find a way to actually make them switch between images of my Owl Carousel. I searched endlessly and can't find the solution. Any ideas?
相关问题
- Views base64 encoded blob in HTML with PHP
- How to fix IE ClearType + jQuery opacity problem i
- jQuery add and remove delay
- Is there a way to play audio on a mobile browser w
- HTML form is not sending $_POST values
If you want to use your own custom navigation elements,
For Owl Carousel 1
For Owl Carousel 2
I did it with css, ie: adding classes for arrows, but you can use images as well.
Bellow is an example with fontAwesome:
JS:
CSS
Using images:
Maybe someone will find this helpful :)
The following code works for me on owl carousel .
https://github.com/OwlFonk/OwlCarousel
For OwlCarousel2
https://owlcarousel2.github.io/OwlCarousel2/docs/api-options.html