Advertisement
Guest User

Untitled

a guest
Jan 19th, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.82 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>BUDMEX - Sprzedaż hurtowa i detaliczna materiałów budowlanych</title>
  5. <meta name="google-site-verification" content="bq44yET_9awPCpM-1mXuXKn__3jfJW6HRC33GgJc-90">
  6. <meta http-equiv="Content-Type" content="text/html;">
  7. <meta name="konwerter" content="Ogonki97 1.3">
  8. <meta http-equiv="content-type" content="text/html; CHARSET=iso-8859-2">
  9. <meta name="ROBOTS" content="ALL, INDEX, FOLLOW">
  10. <meta name="Keywords" content="czysciwo, czyściwo,czyściwo przemysłowe, czyściwo bawełniane, czysciwo bawelniane, wysortowane czysciwo, wysortowane czyściwo">
  11. <meta name="Description" content="Zaopatrujemy firmy, drukarnie, zakłady przemysłowe i produkcyjne, warsztaty mechaniczne, blacharsko-lakiernicze, hurtownie BHP w wysokiej jakości czyściwo bawełniane. Działamy głównie na terenie Trójmiasta, Kaszub i okolic oraz woj.pomorskiego">
  12. <style>
  13. body {
  14. margin: 0;
  15. padding: 0;
  16. background: #333333;
  17. }
  18.  
  19. * {box-sizing:border-box}
  20.  
  21. /* Slideshow container */
  22. .slideshow-container {
  23. position: relative;
  24. margin: 0;
  25. }
  26.  
  27. .mySlides {
  28. display: none;
  29. }
  30.  
  31. /* Fading animation */
  32. .fade {
  33. -webkit-animation-name: fade;
  34. -webkit-animation-duration: 8s;
  35. -moz-animation-name: fade;
  36. -moz-animation-duration: 8s;
  37. animation-name: fade;
  38. animation-duration: 8s;
  39. }
  40.  
  41. @-webkit-keyframes fade {
  42. 0% {opacity: 0}
  43. 33% {opacity: 1}
  44. }
  45.  
  46. @keyframes fade {
  47. 0% {opacity: 0}
  48. 33% {opacity: 1}
  49. }
  50.  
  51. @-moz-keyframes fade {
  52. 0% {opacity: 0}
  53. 33% {opacity: 1}
  54. }
  55. </style>
  56. </head>
  57. <body>
  58. <div class="slideshow-container">
  59. <div class="mySlides fade">
  60. <img src="images/slide1.png" style="width:100%">
  61. </div>
  62. <div class="mySlides fade">
  63. <img src="images/slide2.png" style="width:100%">
  64. </div>
  65. <div class="mySlides fade">
  66. <img src="images/slide3.png" style="width:100%">
  67. </div>
  68. <div class="mySlides fade">
  69. <img src="images/slide4.png" style="width:100%">
  70. </div>
  71. <div class="mySlides fade">
  72. <img src="images/slide5.png" style="width:100%">
  73. </div>
  74. <div class="mySlides fade">
  75. <img src="images/slide6.png" style="width:100%">
  76. </div>
  77. </div>
  78. <script>
  79. document.onkeydown = function(e){
  80. e = e || window.event;
  81. var key = e.which || e.keyCode;
  82. if(key===32){
  83. showSlides();
  84. }
  85. }
  86. var slideIndex = 0;
  87. showSlides();
  88. function showSlides() {
  89. var i;
  90. var slides = document.getElementsByClassName("mySlides");
  91. for (i = 0; i < slides.length; i++) {
  92. slides[i].style.display = "none";
  93. }
  94. slideIndex++;
  95. if (slideIndex > slides.length) {slideIndex = 1}
  96. slides[slideIndex-1].style.display = "block";
  97. }
  98. </script>
  99. </body>
  100. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement