¡@

Home 

2014/10/16 ¤W¤È 12:02:45

jquery Programming Glossary: current_slide_no

Showing Slide Count with Nivo Slider

http://stackoverflow.com/questions/5441617/showing-slide-count-with-nivo-slider

thumbnail was clicked javascript jquery nivo share improve this question 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.. working by script type text javascript jQuery document .ready function var total jQuery '#nivo slider img' .length var current_slide_no 1 garbage var rand Math.floor Math.random total jQuery '#nivo slider' .nivoSlider effect 'fade' Specify sets like 'fold.. opacity startSlide 0 Set starting Slide 0 index keyboardNav true Use left and right arrows afterChange function current_slide_no jQuery '#nivo slider' .data 'nivo vars' .currentSlide jQuery '#nivo slider status .current slide' .html current_slide_no..