Results 1 to 5 of 5

Thread: Ultimate Fade-in slideshow (v1.5)

  1. #1
    Join Date
    Mar 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Ultimate Fade-in slideshow (v1.5)

    Ultimate Fade-in slideshow (v1.5)
    http://dynamicdrive.com/dynamicindex...nslideshow.htm

    Ok now i put this code in my web site, which by the way LOVE the fadder. I am trying to get 4 different arrays to fade 4 different sets of photos. The description states that I am able to do so.
    my code looks like this
    <script type="text/javascript">
    /*****.........****/
    var fadeimages=new Array()
    //SET IMAGE PATHS. Extend or contract array as needed
    fadeimages[0]=["photo1.gif", "", ""] //plain image syntax
    fadeimages[1]=["photo2.gif", "","" ]


    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]=["photo1.gif", "", ""] //plain image syntax
    fadeimages2[1]=["photo2.gif", "", ""]
    fadeimages2[2]=["photo3.gif", "", ""]

    var fadeimages3=new Array() //3rd array set example. Remove or add more sets as needed.
    //SET IMAGE PATHS. Extend or contract array as needed
    fadeimages2[0]=["photo1.gif", "", ""] //plain image syntax
    fadeimages2[1]=["photo2.jpg", "",""]

    var fadeimages4=new Array() //4th array set example. Remove or add more sets as needed.
    //SET IMAGE PATHS. Extend or contract array as needed
    fadeimages2[0]=["photo1.gif", "", ""] //plain image syntax
    fadeimages2[1]=["photo2.gif", "", ""]
    fadeimages2[2]=["photo3.gif", "",""]
    fadeimages2[3]=["photo4.gif", "", ""]

    var faderbgcolor"#099390"

    rest of code
    </head>

    <body>

    some imformation

    <table>column 1 still image, column 2 <script type="text/javascript">
    //new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
    new fadeshow(fadeimages, 133, 225, 0, 3000, 0,)
    </script>
    column 3 <script type="text/javascript">
    //new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
    new fadeshow(fadeimages2, 133, 225, 0, 3000, 0,)
    </script>
    column4 <script type="text/javascript">
    //new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
    new fadeshow(fadeimages3, 133, 225, 0, 3000, 0,)
    </script>
    column5 sill image

    some more info

    then table column 1 still image with text column 2 <script type="text/javascript">
    //new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
    new fadeshow(fadeimages4, 133, 225, 0, 3000, 0,)
    </script>
    column 3 still image with text

    rest of site.

    when i do this nothing shows up and my forth

  2. #2
    Join Date
    Mar 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    sorry the fadeimages are numbered right with 3 and 4

    var fadeimages=new Array()
    //SET IMAGE PATHS. Extend or contract array as needed
    fadeimages[0]=["photo1.gif", "", ""] //plain image syntax
    fadeimages[1]=["photo2.gif", "","" ]


    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]=["photo1.gif", "", ""] //plain image syntax
    fadeimages2[1]=["photo2.gif", "", ""]
    fadeimages2[2]=["photo3.gif", "", ""]

    var fadeimages3=new Array() //3rd array set example. Remove or add more sets as needed.
    //SET IMAGE PATHS. Extend or contract array as needed
    fadeimages3[0]=["photo1.gif", "", ""] //plain image syntax
    fadeimages3[1]=["photo2.jpg", "",""]

    var fadeimages4=new Array() //4th array set example. Remove or add more sets as needed.
    //SET IMAGE PATHS. Extend or contract array as needed
    fadeimages4[0]=["photo1.gif", "", ""] //plain image syntax
    fadeimages4[1]=["photo2.gif", "", ""]
    fadeimages4[2]=["photo3.gif", "",""]
    fadeimages4[3]=["photo4.gif", "", ""]

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

    It's a little unclear as to what the problem is. It looks like you are saying that everything is fine except for the fourth slide show, which either doesn't work or doesn't show up at all. It also seems like you are not entirely clear as to what your source code looks like.

    If three are working, four can too. From the code you published here (with the amendment) I see nothing that jumps out at me as an obvious error. There may be and I have simply missed it. The easiest way to diagnose something like this is to have a link to the live page, could you supply one?
    - John
    ________________________

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

  4. #4
    Join Date
    Mar 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    None of the faders are showing up. and i do not have the page live yet.

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

    OK, looking the second time and armed with the new (to me) information that none are working, I now see this obvious error:

    Code:
    new fadeshow(fadeimages, 133, 225, 0, 3000, 0,)
    All four of your slide show new fadeshow() function calls exhibit an extra comma at the end. You cannot have a comma in the arguments (parameters) list that is not followed by an argument. You will see on the demo page that this is borne out, as it has both:

    Code:
    new fadeshow(fadeimages, 140, 225, 0, 3000, 1, "R")
    and:

    Code:
    new fadeshow(fadeimages2, 140, 225, 0, 3000, 0)
    neither of which have a comma not followed by an argument.
    - John
    ________________________

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

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
  •