PDA

View Full Version : Help With Image Path



rickjwilliams
12-23-2005, 10:29 PM
Hello,

I used a image fader from dynamicdrive....
http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

I just need to know how to inplement the code into my web page telling the array where to find the pictures, as they are located in another dictory.

The code assumes, and looks for the pictures in the root directory.

Can anyone help. I know this must be a simple code fix.


Rick:eek:

jscheuer1
12-23-2005, 10:52 PM
fadeimages[0]=["images/photo1.jpg", "", ""] //plain image syntax

or:


fadeimages[0]=["http://www.somedomain.com/images/photo1.jpg", "", ""] //plain image syntax

rickjwilliams
12-23-2005, 11:50 PM
Yes, Thank You. I had named the directory fade-in. So the code line would be:
fadeimages[0]=["fade-in/photo1.jpg", "", ""] //plain image syntax