<html>
<head>
<script type="text/javascript">
var image1=new Image()
image1.src="http://localhost/DA/1.JPG"
var image2=new Image()
image2.src="http://localhost/DA/2.JPG"
var image3=new Image()
image3.src="http://localhost/DA/3.JPG"
var image4=new Image()
image4.src="http://localhost/DA/4.JPG"
var image5=new Image()
image5.src="http://localhost/DA/5.JPG"
var image6=new Image()
image6.src="http://localhost/DA/6.JPG"
var image7=new Image()
image7.src="http://localhost/DA/7.JPG"
</script>
</head>
<body>
<img src="1.JPG" name="slide" border="0" width="900" height="900" />
<script type="text/javascript">
<!--
var step=1
var whichimage=1
function slideit()
{
if (!document.images)
return
document.images.slide.src=
eval("image"+step+".src")
whichimage=step
if (step<7)
step++
else
step=1
setTimeout("slideit()",5400)
}
slideit()
function slidelink(){
if (whichimage==1)
window.location="link1.htm"
else if (whichimage==2)
window.location="link2.htm"
else if (whichimage==3)
window.location="link3.htm"
}
//-->
</script>
</body>
</html>
whichimage=step
if (step<7)
step++
else
step=1
setTimeout("slideit()",5400)
}
slideit()
function slidelink(){
if (whichimage==1)
window.location="link1.htm"
else if (whichimage==2)
window.location="link2.htm"
else if (whichimage==3)
window.location="link3.htm"
}
//-->
</script>
</body>
</html>
0 comments:
Post a Comment