Don't leave the empty quotes and comma behind, remove the quotes and the comma and the R (red):
Code:
new fadeshow(fadeimages, 140, 225, 0, 3000, 1, "R")
to get something like this:
Code:
new fadeshow(fadeimages, 140, 225, 0, 3000, 1)
The other problem really isn't a problem. I'm not sure what you are doing wrong but, the script is perfectly capable of using a path to the images as long as the path and filename are correct. In your example:
Code:
fadeimages[0]=["/images/pics/pic.jpg", "", ""]
there must be a folder named images in the root of the domain that contains a folder named pics that contains an image named pic.jpg. Now, if you mean a folder named images contained in the current folder (as opposed to the root):
Code:
fadeimages[0]=["images/pics/pic.jpg", "", ""]
That's without the leading slash. Also, if the upper and lower case of the path and filename do not agree with the actual path and filename on the server, even if they are spelled identically otherwise, it still won't work.
Paths are easy to understand and to get right but, they are also easy to mess up. Once you have an error it can be difficult to track down as, there can be so many reasons. If you need more help, please post a link to your problem page.
Bookmarks