Results 1 to 3 of 3

Thread: Rounds of blending image slideshow

  1. #1
    Join Date
    Apr 2008
    Location
    near Stuttgart
    Posts
    12
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default Rounds of blending image slideshow

    I use the blending image slideshow script - everything works.
    But now my client wants just one round of the slideshow.
    Where can I set this in the code???

    Many thanks for all replies!

    isrie

  2. #2
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    Just change the script on highlighted to:
    Code:
    <script language="JavaScript1.1">
    <!--
    
    var whichlink=0
    var whichimage=0
    var blenddelay=(ie)? document.images.slide.filters[0].duration*1000 : 0
    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
    setTimeout("slideit()",slidespeed+blenddelay)
    }
    slideit()
    
    //-->
    </script>
    Code:
    whichimage=(whichimage<slideimages.length-1)?whichimage+1:whichimage
    See if it helps
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  3. The Following User Says Thank You to rangana For This Useful Post:

    isrie (05-02-2008)

  4. #3
    Join Date
    Apr 2008
    Location
    near Stuttgart
    Posts
    12
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    Many thanks Rangana,
    it works!!! Just so simple... and I'm not the best coder.
    Didn't know which parameter stands for this.
    You helped me a lot.

    isrie

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
  •