Results 1 to 9 of 9

Thread: Ultimate Fade-in slideshow problem

  1. #1
    Join Date
    Nov 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ultimate Fade-in slideshow problem

    1) Script Title: Ultimate Fade-in slideshow (v1.51)

    I'm attempting to modify the script to fit a 7-image slideshow and when I paste the completed script into the webpage HEAD, all other formatting disappears. I copied and pasted the last lines in the script relating to my images and renamed them:

    fadeimages[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax

    but I may have misunderstood how to customize the script. I'm a "cut and paste" kind of webpage designer and my programming knowledge is limited, but I would appreciate any guidance.

    thanks,

    Spiderartist
    Last edited by ddadmin; 11-28-2007 at 01:53 AM.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    There's not enough info to go by right now. Please post a link to the page on your site that contains the problematic script so we can check it out.

  3. #3
    Join Date
    Nov 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Slide show troubles...

    The page with the problem is at http://www.peterscreekstudios.com/creative_process.html. Interesting: all page formatting disappeared in my web design software when I added the code but after uploading, it reappeared. However, the slide show still won't work.

    Thanks for help.

    --Spiderartist

  4. #4
    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

    Either you forgot to do Step 1 from the demo page:

    Step 1: Insert the following script to the HEAD section of your page:
    or something about your editor, or something about the process that you used to upload the page to the server stripped it out.
    - John
    ________________________

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

  5. #5
    Join Date
    Nov 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Duh---Slide Show Blues Error

    Sorry--I had pasted and deleted so many times I forgot to re-paste the code into the HEAD again. I have corrected it and I still have no success, but you may check it out again at http://www.peterscreekstudios.com/creative_process.html.

    thanks,

    --Spiderartist

  6. #6
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    The paths to your images specified in the script are all incorrect:

    Code:
    fadeimages[0]=["001.jpg", "", ""] //plain image syntax
    fadeimages[1]=["002.jpg", "http://www.cssdrive.com", ""] //image with link syntax
    fadeimages[2]=["003.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax
    Make sure "001.jpg", "002.jpg" etc are correct paths to your images. If in doubt, use absolute URLs instead, such as "http://www.mysite.com/images/001.jpg".

  7. #7
    Join Date
    Nov 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Links....

    You were correct. I corrected the links and it works, but now I get two images changing instead of just one.

    Thanks again,

    --Spiderartist

  8. #8
    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

    That's because you have two about identical slide shows configured. Get rid of the second one, here (remove all):

    Code:
    var fadeimages2=new Array() //2nd array set example. Remove or add more sets as needed.
    //SET IMAGE PATHS. Extend or contract array as needed
    fadeimages2[0]=["Slides/001.jpg", "", ""] //plain image syntax
    fadeimages2[1]=["Slides/002.jpg", "http://www.cssdrive.com", ""] //image with link syntax
    fadeimages2[2]=["Slides/003.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax
    and here (remove red):

    Code:
    <script type="text/javascript">
    //new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
    new fadeshow(fadeimages, 432, 432, 0, 3000, 1)
    new fadeshow(fadeimages2, 432, 432, 0, 3000, 0)
     
    </script>
    - John
    ________________________

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

  9. #9
    Join Date
    Nov 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Got it.

    That did the trick. Thanks very much for your indulgence and your help.

    --Spiderartist

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
  •