I need some help with some logic. I have a JSon feed with 600 images. I want to show the first 10 pictures. When the user gets to the tenth picture, if there are more pictures in the array show the next 10 images. I already tweaked json to give me just 10 images but I am not sure how to get the next 10 items in the array. I knowthis hassomething to do with a counter but its all not connecting for me. Any suggestions, pseudeo code,links or code is apprecaited.
Thank you
It is just pseudeo in java script. Just analyse the loop.
Just start collecting images from Json feed into array container. As you get 10 images, display them with function and clean the container. Keep on doing till all images are over.
Show the last few images which are less than ten by calling function again.
I couldn’t give exact code becuase, json feed structure is now known.