Advanced Search

Results 1 to 3 of 3

Thread: Random images on Fade-in slide show?

  1. #1
    Join Date
    Jun 2008
    Posts
    15
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Random images on Fade-in slide show?

    1) Script Title:
    Ultimate Fade-in slide show
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...nslideshow.htm
    3) Describe problem:

    would it be possible to randomize image?... instead of a fixed order?

  2. #2
    Join Date
    Aug 2004
    Posts
    9,862
    Thanks
    3
    Thanked 959 Times in 948 Posts
    Blog Entries
    15

    Default

    Errr this is supported by default already. Per the instructions on the script page:

    Code:
    new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause, optionalRandomOrder)
    1. IMAGES_ARRAY_NAME: The name of the image array (inside script of Step 1) containing the images to display for this slideshow (ie: "fadeimages".
    2. slideshow_width: The width of the slideshow container (implied in px). Set it to accommodate the largest image within the slideshow.
    3. slideshow_height: The height of the slideshow container (implied in px). Set it to accommodate the largest image within the slideshow.
    4. borderwidth: The width of the border, such as 0, 1 etc.
    5. delay: Delay between image change, in milliseconds (ie: 3000 = 3 seconds).
    6. pause: Specify whether slideshow should pause (not rotate) while the mouse is over it. 1=yes, 0=no.
    7. optionalRandomOrder: An optional parameter specifying whether to "randomize" the display order of the images. Set it to "R" to randomize, or remove this parameter (unset) to not.

  3. #3
    Join Date
    Jul 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you for this script - it's a lifesaver!

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
  •