I'm looking for some documentation or an example to get this working:

http://legomenon.io/article/owl-carousel-extending-custom-callbacks

i know you can add classes with this method, but seems like im doing it wrong (im copy/paste'ing inside my owlcarousel.settings.js)

Any help will be appreciated.

Comments

swim’s picture

Hey Eduardo1337,

im copy/paste'ing inside my owlcarousel.settings.js

So the article says this functionality can be achieved via a custom module; or ultimately via any separate javascript file. This can be included in a number of ways; via your template.php, via a custom module. Here's some reading for you, Adding JavaScript to your theme or module. This means when updating the module you won't lose any of your changes =).

#Update
Sorry I should also mention that the additional javascript file should of course be included after the owlcarousel.settings.js file. This should happen out of the box if the weight/ scope options are left as is.

swim’s picture

Status: Active » Closed (works as designed)