The bottom line is that I dynamically load or remove elements from the slider using ajax. How after the next request to "restart" the carousel, so that she re-counted the elements?

Everything found the answer: I had a version of jQuery OwlCarousel v1.31 used: $ ("# owl-demo"). data ('owlCarousel'). destroy (); http://www.jq22.com/demo/jquery-lbt20151019/demos/manipulations.html

  • Make a call to the carousel in a function, and call the function with an AJAX. - user190134
  • does not recount, tried - coffee
  • What version of the plugin? - Crantisz
  • jQuery OwlCarousel v1.31. I already found) $ ("# owl-demo"). data ('owlCarousel'). destroy (); - coffee

0