Skip to content

Tag: javascript

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 &#821…

Populate dropdown list with current day, month and year

I am probably asking an easy question for you, but I am still a newbie, so please someone help me. I have this html and jQuery code: So the question is: How can I populate one more dropdown showing current day, but also showing all the days from the month, based on if they are 30, 31, 28 or even

Using tawk.to with Nuxt/Vue Application

Does anyone know how to use tawk.to in a Nuxt application? I created a file “tawk.js” on my plugin folder with the following code: And I put it on nuxt.config.js as well: It didn’t work. It does show some compiled errors: Answer You could try to use a vue wrapper for tawk. vue-tawk