Results 1 to 3 of 3

Thread: Translucent Slide Show

  1. #1
    Join Date
    Aug 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Translucent Slide Show

    1) Script Title: Translucent Sideshow

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ucentslide.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"]

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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:

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

    Code:
    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Aug 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default SlideShow Running...Thanks To You!

    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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •