PDA

View Full Version : Blending Image Slideshow Script



isrie
04-10-2008, 12:17 PM
Can somebody help me?

Insert the "Blending Image Slideshow" script in my page successfully.
But how can I justify the initial speed?

Which parameter do I have to change to get the slideshow faster started?
Which parameter stands for what?

Thank you all for comments!
isrie

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
head part:

<script language="JavaScript1.1">
<!--

//*****************************************
// Blending Image Slide Show Script-
// Dynamic Drive (www.dynamicdrive.com)
// For full source code, visit http://www.dynamicdrive.com/
//*****************************************

//specify interval between slide (in mili seconds)
var slidespeed=3000

//specify images
var slideimages=new Array("rundgang1.jpg","rundgang2.jpg","rundgang3.jpg","rundgang4.jpg","rundgang5.jpg","rundgang6.jpg","rundgang7.jpg","rundgang8.jpg","rundgang9.jpg","rundgang10.jpg","rundgang11.jpg","rundgang12.jpg")

//specify corresponding links
var slidelinks=new Array("http://www.dynamicdrive.com","http://javascriptkit.com","http://www.geocities.com")

var newwindow=1 //open links in new window? 0=yes, 1=no

var imageholder=new Array()
var ie=document.all
for (i=0;i<slideimages.length;i++){
imageholder[i]=new Image()
imageholder[i].src=slideimages[i]
}

function gotoshow(){
if (newwindow)
window.open(slidelinks[whichlink])
else
window.location=slidelinks[whichlink]
}

//-->
</script>


Body part:

<div class="Stil7" id="Layer61">

<a href="javascript:gotoshow()"><img src="rundgang1.jpg" name="slide" border=0 style="filter:blendTrans(duration=12)" hight=250></a><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>

<p align="center"><font face="arial" size="-2">This free script provided by<br>
<a href="http://www.dynamicdrive.com">Dynamic Drive</a></font></p>


</div>

Nile
04-11-2008, 11:34 AM
To edit how fast it goes, look here:

//specify interval between slide (in mili seconds)
var slidespeed=3000
The highlighted part will change the slidespeed.

isrie
04-11-2008, 01:54 PM
Thanks for your help!
But this doesn't change the initial speed (how fast the slideshow starts).
At the moment it takes too long to start.
The entire speed is ok.

Thanks!!!