Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="slider">
- <img src="img1.jpg" name="slide" border=0 width=1440 height=600></a>
- <div><script>
- <!--
- //configure the paths of the images, plus corresponding target links; put the images and HTML file in same folder.
- slideshowimages("img1.png","img2.png","img3.jpg")
- //configure the speed of the slideshow, in miliseconds
- var slideshowspeed=5000
- var whichlink=0
- var whichimage=0
- function slideit(){
- if (!document.images)
- return
- document.images.slide.src=slideimages[whichimage].src
- whichlink=whichimage
- if (whichimage<slideimages.length-1)
- whichimage++
- else
- whichimage=0
- setTimeout("slideit()",slideshowspeed)
- }
- slideit()
- //-->
- </script></div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement