Hi I have a problem with javascript
I'm trying to make a preloading with putting onload function to body part of html but what i want to do is taking all images in /htmlroot/images folder to a javascript array because i dont want to write the name of jpg file to my .js everytime when i add a new picture is something like that possible
i mean is something like that possible if it is how?
for (var i=0;i<count(/images/*.jpg);i++)
Liars Do Not Fear The Truth If There Are Enough Liars
I'm trying to make a preloading with putting onload function to body part of html but what i want to do is taking all images in /htmlroot/images folder to a javascript array because i dont want to write the name of jpg file to my .js everytime when i add a new picture is something like that possible
i mean is something like that possible if it is how?
for (var i=0;i<count(/images/*.jpg);i++)
Liars Do Not Fear The Truth If There Are Enough Liars