hi everyone
i have image rollover code. and i want to add functionality, for ex-this scripts roll overs images (slides them) . i would like let it stops when onmouseover event
here is script
<html>
<head>
<title>HTML ders | 09.07.2010</title>
<script>
var sekil1=new Image();
sekil1.src="bir.jpg";
var sekil2=new Image();
sekil2.src="iki.jpg";
var sekil3=new Image();
sekil3.src="uc.jpg";
var sekil4=new Image();
sekil4.src="dord.jpg";
var sekil5=new Image();
sekil5.src="bes.jpg";
</script>
</head>
<body>
<img name="az" src="bir.jpg" width="250" height="200">
<script>
var addim=1;
function slide(){
if(!document.images)
return
document.images.az.src=eval("sekil"+addim+".src")
if(addim<5)
addim++
else
addim=1
setTimeout("slide()", 2500);
}
slide();
</script>
</body>
</html>
thanks in advance