Is there any way I can make a javascript function go through all the images in a directory? Or through images which are listed?
I could use
So it goes threw files called 1,2,3,4,5 but once it reaches the end it won't go back to 1.HTML Code:var image = '1' function ChangeBG1() { image = image+1; }
Thanks.
Edit: Its to change the background of a div when you click something :p
Moved by Agesilaus (Forum Moderator) from Design & Development: Please post in the correct forum next time.![]()






Reply With Quote
