strange question…I explain myself.
There are of course 10000 tutos with xml gallery featuring a < previous and a > next image button.
I succedeed to create a quite nice photo gallery with thumbs by myself with tuts here and there, but I can not figure out the real logic( not a math minded ;-() to create the functions of the buttons that allows to go to the previous and next photo.
Could somebody explain me this logic ?
It must be something with a if condition, no ?
Thank you for your tips.