Results 1 to 2 of 2

Thread: Ultimate Fadein slideshow, stop random

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

    Default Ultimate Fadein slideshow, stop random

    1) Script Title:
    Firefox1+ IE5+ Opera 7+ Ultimate Fade-in slideshow

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...nslideshow.htm

    3) Describe problem:
    I have removed the R for random and left as "", one minute it worked fine and slides in order then all of a sudden it seems to be back to random.

    I have cleared cache and rebooted and same issue in FF and IE

    I cannot have it as random

    any ideas?

    <script type="text/javascript">
    //new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
    new fadeshow(fadeimages, 270, 380, 0, 6000, 0, "")


    </script>



    I have also noticed that it does not allow to specify images in a different folder
    fadeimages[0]=["/images/pics/pic.jpg", "", ""]

    I have to move the images to the root
    fadeimages[0]=["pic.jpg", "", ""]
    Last edited by fx2050; 09-10-2006 at 09:27 PM.

  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

    Don't leave the empty quotes and comma behind, remove the quotes and the comma and the R (red):

    Code:
    new fadeshow(fadeimages, 140, 225, 0, 3000, 1, "R")
    to get something like this:

    Code:
    new fadeshow(fadeimages, 140, 225, 0, 3000, 1)
    The other problem really isn't a problem. I'm not sure what you are doing wrong but, the script is perfectly capable of using a path to the images as long as the path and filename are correct. In your example:

    Code:
    fadeimages[0]=["/images/pics/pic.jpg", "", ""]
    there must be a folder named images in the root of the domain that contains a folder named pics that contains an image named pic.jpg. Now, if you mean a folder named images contained in the current folder (as opposed to the root):

    Code:
    fadeimages[0]=["images/pics/pic.jpg", "", ""]
    That's without the leading slash. Also, if the upper and lower case of the path and filename do not agree with the actual path and filename on the server, even if they are spelled identically otherwise, it still won't work.

    Paths are easy to understand and to get right but, they are also easy to mess up. Once you have an error it can be difficult to track down as, there can be so many reasons. If you need more help, please post a link to your problem page.
    - 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
  •