Advertisement
Guest User

Untitled

a guest
Nov 28th, 2013
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. <head>
  2. <style type="text/css">
  3. .style1 {
  4. text-align: center;
  5. }
  6. </style>
  7. </head>
  8. <hr>
  9. <body style="color: #FFFFFF; background-color: #F3F3F3">
  10. <div class="style1">
  11. <IMG src="http://207.251.86.238/cctv5.jpg" border="1" name="refresh" id="img1">
  12. <p>
  13. <IMG src="http://207.251.86.238/cctv10.jpg" border="1" name="refresh" id="img2">
  14. <p>
  15. <IMG src="http://207.251.86.238/cctv12.jpg" border="1" name="refresh" id="img3">
  16. <p>
  17. <IMG src="http://207.251.86.238/cctv440.jpg" border="1" name="refresh" id="img4">
  18.  
  19.  
  20. <SCRIPT language="JavaScript" type="text/javascript">
  21. var t = 5 // Interval in Seconds
  22. images = new Array("http://207.251.86.238/cctv5.jpg","http://207.251.86.238/cctv10.jpg","http://207.251.86.238/cctv12.jpg","http://207.251.86.238/cctv440.jpg") //URL of the Image
  23.  
  24. function Start() {
  25. tmp = new Date();
  26. tmp = "?"+tmp.getTime();
  27. for (i=1;i<images.length;i++){
  28. document.getElementById("img"+i).src = images[i]+tmp;
  29. }
  30. setTimeout("Start()", t*1000)
  31. }
  32. Start();
  33. </script>
  34. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement