0 Replies Latest reply on Apr 22, 2016 9:08 AM by foto740

    File Checking


      What I am trying to do is make a slideshow. I have that done already.


      here is my question


      In the code I can tell it how many images are in my slideshow and it works just fine.


      I am trying to make it look in the images folder and count how many files are named "Slide_"(my number here)".jpg"


      Is there a way I can do this with javascript?

      or some other method so that all I have to do is put more slides in or take them out and It will see that I have 35 slides or 5 slide depending on how many are there?