While building a carousel module for Joomla I am having 2 JavaScript issues I can’t get fixed. I’ve been trying for 2 days. Hopefully someone here can point out what I am doing wrong. I can’t get a boolean from a string “0” or string “1” And I can’t JSON.parse() to convert an object string to a JavaScript object The
Tag: owl-carousel
Owl Carousel 2 – Getting Active Items
I have an Owl Carousel 2 that’s being generated by a WordPress theme and I’ve set up some custom scripts similar to this: This places the image caption of the middle image below the carousel in a full-width container. The issue I’m having is, when I assign the active items to activeEls – it’s grabbing the active items BEFORE the
owlcarousel – dots do not appear
I am working on a project and as my knowledge in javascript are very limited, I decided to use owlcarousel. everything was working fine but now I am facing a problem. I have set the dots to true but they do not appear. My work so far is the following: Please let me know how I can fix this issue