Advertisement
Guest User

Untitled

a guest
Nov 17th, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.79 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>Klienci na SGT</title>
  6. <style type="text/css">
  7. * {
  8.     margin:0;
  9.     padding:0;
  10.     border:0;
  11. }
  12. html, body, iframe {
  13.     height:100%;
  14.     width:100%;
  15.     overflow:hidden;
  16. }
  17. </style>
  18. <script type="text/javascript">
  19. var pages = new Array(); // this will hold your pages
  20. pages[0] = 'monitoring_SGT/mSGT.html';
  21. pages[1] = 'monitoring_SGT/mSGT.html';
  22. pages[2] = 'monitoring_SGT/mSGT.html';
  23. pages[3] = 'monitoring_SGT/infonet.html';
  24. pages[4] = 'monitoring_SGT/interkam.html';
  25. pages[5] = 'monitoring_SGT/komster.html';
  26. pages[6] = 'monitoring_SGT/lkh.html';
  27. pages[7] = 'monitoring_SGT/marsoft.html';
  28. //pages[8] = 'monitoring_SGT/matrix.html'; //Nie ma juz go na SGTSA.PL
  29. //pages[9] = 'monitoring_SGT/interdom.html'; //Nie ma juz go na SGTSA.PL
  30. //pages[10] = 'monitoring_SGT/swidman.html'; //Nie ma juz go na SGTSA.PL
  31. pages[10] = 'monitoring_SGT/lisek.html';
  32. pages[11] = 'monitoring_SGT/lubonet.html';
  33. pages[12] = 'monitoring_SGT/tau.html';
  34. //pages[13] = 'monitoring_SGT/interdom.html'; //Nie ma juz go na SGTSA.PL
  35. pages[13] = 'monitoring_SGT/multinet.html';
  36. pages[8] = 'monitoring_SGT/wmc1.html';
  37. pages[9] = 'monitoring_SGT/wmc2.html';
  38.  
  39.  
  40.  
  41.  
  42. var time = 2; // set this to the time you want it to rotate in seconds
  43.  
  44. // do not edit
  45. var i = 1;
  46. function setPage()
  47. {
  48.     if(i == pages.length)
  49.     {
  50.         i = 0; 
  51.     }
  52.     document.getElementById('holder').setAttribute('src',pages[i]);
  53.     i++;
  54. }
  55. setInterval("setPage()",time * 5000);
  56. // do not edit
  57. </script>
  58. </head>
  59.  
  60. <body>
  61. <iframe id="holder" src="page1.html" frameborder="0" scrolling="no"></iframe>
  62. </body>
  63. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement