grandpafred
October 15th, 2007, 18:58
I think that's what I want? In this thread
http://www.iwdn.net/showthread.php?t=6690 there is some excellent js code for cycling through images... and I've found a number of other js next / previous type scripts on the web.
Now, my question: the person I'm working on this for, would like the next and previous function to continue thru the array instead of stopping when you get to the end of the array. When at the end of the array click the next link would go back to the first image.
I've tried changing the if else statements for the code in the aforementioned thread, but can't come up with the proper code. I need a hint please.
thanks
http://www.iwdn.net/showthread.php?t=6690 there is some excellent js code for cycling through images... and I've found a number of other js next / previous type scripts on the web.
Now, my question: the person I'm working on this for, would like the next and previous function to continue thru the array instead of stopping when you get to the end of the array. When at the end of the array click the next link would go back to the first image.
I've tried changing the if else statements for the code in the aforementioned thread, but can't come up with the proper code. I need a hint please.
thanks