Callback for connecting with other dom elements.

Issue #6 resolved
Anatoliy Poliakov created an issue

Hi. I need to make changes in dom elements on each slide change. I've tried to get information about current slide in onSlideChange callback: function(this) { alert('current slide' + this.current); } But no chance. Could You please help me with this problem?

Comments (5)

  1. Lukasz Kokoszkiewicz repo owner

    You can try this.slide :

    $('.responsive-slider').responsiveSlider({
      autoplay: true,
      onSlideChange: function() {
        console.log('Slide numer: '+this.slide);
      }
    });
    
  2. Log in to comment