View Full Version : Rounds of blending image slideshow
isrie
04-22-2008, 09:44 AM
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
rangana
04-22-2008, 10:02 AM
Just change the script on highlighted to:
<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>
whichimage=(whichimage<slideimages.length-1)?whichimage+1:whichimage
See if it helps ;)
isrie
05-02-2008, 09:27 AM
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
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.