F
Freightliner
Hi,
when my pages load, the first picture (img1) of the set of 3 pics I
use for a slideshow, displays for 8 seconds instead 4. See code below.
Thanks for help.
<head>
....
var img1=new Image()
img1.src="images/mypic1.jpg"
var img2=new Image()
img2.src="images/mypic2.jpg"
var img3=new Image()
img3.src="images/mypic3.jpg"
....
<body ... onLoad=" slideit()">
....
<img src="images/mypic1.jpg" name="slide"
style="filter:blendTrans(duration=2)" border = 1
style="filter:blendTrans(duration=2)" width="360" height="270">
....
<script>
<!--
var step=1
var whichimage=1
function slideit(){
if (!document.images)
return
if (document.all)
slide.filters.blendTrans.play()
whichimage=step
if (step<3)
step++
else
step=1
setTimeout("slideit()",4000)
}
//-->
</script>
when my pages load, the first picture (img1) of the set of 3 pics I
use for a slideshow, displays for 8 seconds instead 4. See code below.
Thanks for help.
<head>
....
var img1=new Image()
img1.src="images/mypic1.jpg"
var img2=new Image()
img2.src="images/mypic2.jpg"
var img3=new Image()
img3.src="images/mypic3.jpg"
....
<body ... onLoad=" slideit()">
....
<img src="images/mypic1.jpg" name="slide"
style="filter:blendTrans(duration=2)" border = 1
style="filter:blendTrans(duration=2)" width="360" height="270">
....
<script>
<!--
var step=1
var whichimage=1
function slideit(){
if (!document.images)
return
if (document.all)
slide.filters.blendTrans.play()
whichimage=step
if (step<3)
step++
else
step=1
setTimeout("slideit()",4000)
}
//-->
</script>