*Edited js, html, and css(see attached) but the below code was key. original code in js: function setCurrent(i){ i = parseInt(i)+1; $("li", "#" + options.numericId).removeClass("current"); $("li#" + options.numericId + i).addClass("current"); }; edited code in js: function setCurrent(i){ i = parseInt(i)+1; $("li", "#" + options.numericId).removeClass("current"); $("li#" + options.numericId + i).addClass("current"); $("#image-number").html(i); };
Please feel free to expand. carlnunes c...@carlnunes.com carlnunes wrote: > > demo: http://carlnunes.dev/slider-demo/ http://carlnunes.dev/slider-demo/ > demo files archive: http://carlnunes.dev/slider-demo/slider-demo.zip > http://carlnunes.dev/slider-demo/slider-demo.zip > attached: http://old.nabble.com/file/p26383109/slider-demo.zip > slider-demo.zip > goal: display numbers 1-10 in div; as each image slides into view > > In my edited demo of the original easy slider 1.7 example; I have a box > with the number 1 currently displayed. > > I want that number to update to the next number; as each image slides into > view. > > I am still researching a solution and will be happy to post my results. > > Any questions or comments are appreciated. > > carlnunes > c...@carlnunes.com > > -- View this message in context: http://old.nabble.com/Display-Current-Image-Number-in-div---Easy-Slider-1.7-tp26383109s27240p26384738.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.