I got this PHP script which generates a javascript array of filenames.
Everything works fine when I add DIRNAME to the array strings in PHP,
but if I want to concatenate the strings in this for loop, it gets weird.
I’ve tried alert() both arrays when they are the same, and there is no difference there, however when the array of files (fadeimages) is supposed to get loaded into the slideshow it doesn’t get displayed.
When I look it from the Google Chrome Inspect element, the image src is the url and /i. That’s the begging of the path name, but why only the first letter?
Sorry for the wrong title, I quess the string concatenation really is working.