Results 1 to 3 of 3

Thread: Blending Image Slideshow Script stop on last image

  1. #1
    Join Date
    Jul 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Blending Image Slideshow Script stop on last image

    1) Script Title: Blending Image Slideshow Script

    2) Script URL (on DD): http://dynamicdrive.com/dynamicindex14/image4.htm

    3) Describe problem: I would like to be able to stop the slideshow on the last image instead of remaining continuous. Can anyone help with the code/ Thanks

  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

    Code:
    function slideit(){
    if (!document.images) return
    if (ie) document.images.slide.filters[0].apply()
    document.images.slide.src=imageholder[whichimage].src
    if (ie) document.images.slide.filters[0].play()
    whichlink=whichimage
    whichimage=(whichimage<slideimages.length-1)? whichimage+1 : 0
    if(whichimage==0)
    return;
    setTimeout("slideit()",slidespeed+blenddelay)
    }
    - John
    ________________________

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

  3. #3
    Join Date
    Jul 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thankyou so much...works like a charm
    Z

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
  •