Magic
Posting Freak
- Oct 11, 2012
- 1,026
- 196
So yea it just sits on one image, Excuse my noobishness but i'm a learner and am confused.
Close thread - I moved onto a Jquery Slider
HTML:
<script type="text/javascript">
<!-->
var image1=new image()
image1.src="ghostfacer.jpg"
var image2=new image()
image2.src="fokus.jpg"
var image3=new image()
image3.src="da.jpg"
//-->
</script>
<img src= "images/ghostfacer.jpg" name="slide" width="400" height="400">
<script type="text/javascript">
<!--
var step=1
function slideit(){
document.images.slide.src=eval("image"+step+".src")
if(step<3)
step++
else
step=1
setTimeout("slideit()",2500)
}
slideit()
//-->
</script>
Close thread - I moved onto a Jquery Slider