<html>
<head>
</head>
<body>
<img src="blue hills.jpg" name="slide" width="350" height="300"/>
<script type="text/javascript">
var image1=new Image()
image1.src="Sunset.jpg"
var image2=new Image()
image2.src="Winter.jpg"
var image3=new Image()
image3.src="Blue hills.jpg"
var image4=new Image()
image4.src="turf.jpg"
var image5=new Image()
image5.src="white.jpg"
var step=1
function slideit()
{
<!--if browser does not support the image object,exit.-->
if(!document.images)
return
document.images.slide.src=eval("image"+step+".src")
if(step<5)
step++
else
step1
setTimeout("slideit()","1500")
}
slideit()
</script>
</body>
</html>
willjohanz -3 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.