Showing Slide Count with Nivo Slider
问题 I would like to show the slide count as 2 of 10 on my slider. How do I make it work with the transitions 3 of 10 , 4 of 10 (as the slider moves with slides) & 7 of 10 (if the corresponding thumbnail was clicked)? 回答1: You can have the current slide no as current_slide_no = jQuery('#nivo-slider').data('nivo:vars').currentSlide; Add 1 to it as index starts from 0. Use afterChange attribute to change the current slide number while initializing the NIVO slider. So, I got it working by <script