How to add onclick to simple js image loop
I have added buttons to a looping gallery but am not sure how to implement them so that clicking one will jump to the corresponding image? Please see jSfiddle at: http://jsfiddle.net/NkryH/9/
Best regard开发者_StackOverflows, Thomas
Don't know if that's an option for you but you could consider a slideshow plugin like SlideJS
See this blog post of mine http://mycodelove.wordpress.com/2011/09/18/simple-photo-gallery-from-img-in-li/ u can modify it to suit your needs
精彩评论