Support » Plugin: MetaSlider » Trigger click event?

  • Dear Developer,

    Thanks for providing good plugin. I wanted to pass click event on one slider on clicking on other slider. Hence I passed different class names on different sliders and implemented this code in my header.php. But it`s not working. Here is the code:

    $(‘.flexslider’).flexslider({
    animation: “slide”,
    controlNav: false,
    animationLoop: false,
    slideshow: false,
    start: function(){
    $(‘.imgslider .flex-next’).on(‘click’, function(e){
    $(‘.cslider .flex-next’).trigger(‘click’);
    });
    $(‘.flex-prev’).on(‘click’, function(e){
    $(‘.flex-prev’).trigger(‘click’);
    });
    }
    });

    Can you please tell me where i`m doing wrong?

    https://wordpress.org/plugins/ml-slider/

  • The topic ‘Trigger click event?’ is closed to new replies.