I didn't write teh slideshow script.
Why would it be different,
IF PHP generates the array
Code:
echo 'fadeimagesPHP['.$curimage.']=["'.$dirname.$file.'"];'."\n";
It would look like this:
Code:
fadeimages2[0]=["img/gallery/01_2.jpg"]
And when javascript itself generated the array, I mean, removed the $dirname, from PHP, so javascript would add var path itself before the image name.
They look identical, I proved it with alerting both, when they were the same.
However one is working (PHP generated), and the other isn't.
Bookmarks