I can’t seem to grasp what I have to do here. I’m trying my hand at creating a simple image slideshow, and I’m trying to figure out how to make it work. It’s not running through my for loop, and I can’t see why. Here’s a fiddle of my code: http://jsfiddle.net/xnEGt/.
Share
Here: http://jsfiddle.net/xnEGt/6/
What was wrong:
.get(0)and.get(1)selectors were also wrong, usenth-child(i)instead.Or a more compact implementation using
.get()selectors: http://jsfiddle.net/xnEGt/7/