Chris
Chris

Reputation: 57

Owl carousel plugin with filter MixItUp

I'm trying to get these plugins to work together. I'm not sure if I'm better off modify MixItUp to work with carousel or other way round.

Owl Carousel - http://owlgraphic.com/owlcarousel/

MixItUp - https://mixitup.kunkalabs.com/

$(document).ready(function () {
    var carousel = $("#owl-demo");  

    carousel.owlCarousel();

    carousel.mixItUp({
        callbacks: {
            onMixStart: function(state){
                state.$show.parent().show();
            },
            onMixEnd: function(state){
                state.$hide.parent().hide();
            }
        }
    });
});

http://codepen.io/anon/pen/GJqwvr

Upvotes: 2

Views: 930

Answers (0)

Related Questions