Results 1 to 5 of 5

Thread: Array Order Out of Whack?

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

    Default Array Order Out of Whack?

    Ultimate Fade-in slideshow

    http://www.dynamicdrive.com/dynamici...nslideshow.htm

    Inserted script and everything works fine...however...the images are not appearing in the order I have placed them within the array? I have even attempted to re-arrange the images yet they still do not appear in the order they appear within the array? What have I done wrong? P.S. I see there is a line within the script under 'no need to edit' that reads: if (typeof displayorder!="undefined").....is that the problem?

    Appreciate any help!
    Thanks

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    It's a feature, not a problem. Read the documentation: there's an optional final argument to the constructor to set the display order to random. Remove it, and the problem will go away.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

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

    Default

    Thanks...but I removed "R" (optional random order) from script and now nothing appears (no slideshow or images) ?

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Perhaps you left the comma in? It's hard to tell without seeing your page.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

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

    Default

    That did it!!...thanks and Happy New Year!!

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
  •