Advertisement
Guest User

:)

a guest
Nov 24th, 2014
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. <div id="slider">
  2. <img src="img1.jpg" name="slide" border=0 width=1440 height=600></a>
  3.  
  4. <div><script>
  5. <!--
  6.  
  7. //configure the paths of the images, plus corresponding target links; put the images and HTML file in same folder.
  8. slideshowimages("img1.png","img2.png","img3.jpg")
  9.  
  10.  
  11. //configure the speed of the slideshow, in miliseconds
  12. var slideshowspeed=5000
  13.  
  14. var whichlink=0
  15. var whichimage=0
  16. function slideit(){
  17. if (!document.images)
  18. return
  19. document.images.slide.src=slideimages[whichimage].src
  20. whichlink=whichimage
  21. if (whichimage<slideimages.length-1)
  22. whichimage++
  23. else
  24. whichimage=0
  25. setTimeout("slideit()",slideshowspeed)
  26. }
  27. slideit()
  28.  
  29. //-->
  30. </script></div>
  31.  
  32. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement