PDA

View Full Version : Translucent Slide Show



birdlady
08-31-2006, 01:26 AM
1) Script Title: Translucent Sideshow

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/translucentslide.htm

3) Describe problem: The biggest problem is I am ignorant! But I'm so excited about learning. I placed 7 photos into the script, previewed the page and it worked perfect! After I uploaded the page, all I could see was the box with the red X, instead of my photos.

Here's where I'm having the trouble: I don't know what to place after the image name in the code. I'm appreciative of ANY help!

var slideshowcontent=new Array()
//Define slideshow contents: [image URL, OPTIONAL LINK, OPTIONAL LINK TARGET]
slideshowcontent[0]=["BC1.jpg", "http://www.pigeonplace.com", "_new"]
slideshowcontent[1]=["BC2.jpg", "", ""]
slideshowcontent[2]=["BC3.jpg", "http://www.pigeonplace.com", ""]
slideshowcontent[3]=["BC4.jpg"]
slideshowcontent[4]=["BC5.jpg"]

jscheuer1
08-31-2006, 05:49 AM
Well, if you are getting red X's, that usually means that your images are not on the server or not on the server in the place where the code indicates that they are. It can also mean that the case (upper and lower case matter on the web) of the image names in the code does not match those that they have on the server. First make sure none of these problems exist.

Now, on to your question. Each entry in the array of images must contain three items though the second two or just the third one may be left blank. So, these are OK:


slideshowcontent[0]=["BC1.jpg", "http://www.pigeonplace.com", "_new"]
slideshowcontent[1]=["BC2.jpg", "", ""]
slideshowcontent[2]=["BC3.jpg", "http://www.pigeonplace.com", ""]

These are not:


slideshowcontent[3]=["BC4.jpg"]
slideshowcontent[4]=["BC5.jpg"]

The second item is an optional link for the image and the third, an optional target for that link. These are, as I said, optional. But, must be represented by the empty quotes if not used.

For more help:

Please post a link to the page on your site that contains the problematic script so we can check it out.

birdlady
08-31-2006, 05:42 PM
I am dancing with excitement at seeing my slide show work! I inserted the empty quotes after the other images, as you suggested....and IT WORKED!!! I just can't tell you how much I appreciate you taking the time to help me. Seeing it actually work has just made my day! Thank you SO much for sharing your expertise.
Val

Here's the working results of your efforts:)
http://pigeonplace.com/BCsAMPLES.htm