I came across a javascript that shows pictures. I was wondering if there is a way to make the pictures a variable so that the user can just drop the pictures on a folder and tey are shown
this is the part of the javascript where it has the pics
Any help or pointing me to the right direction would really help.
Thanks!!
this is the part of the javascript where it has the pics
Code:
var JaS = {
// Customization parameters
imagePath : "pictures/",
images : [
["1.jpg", ,],
["2.jpg", ,],
["3.jpg", ,],
["4.jpg", ,],
["5.jpg", ,],
["6.jpg", ,],
["7.jpg", ,], // Separate multiple tags by a comma
["8.jpg", ,]
],
Any help or pointing me to the right direction would really help.
Thanks!!