"SlidePageAds" பக்கத்தின் திருத்தங்களுக்கிடையேயான வேறுபாடு

நூலகம் இல் இருந்து
தாவிச் செல்ல:வழிசெலுத்தல், தேடுக
வரிசை 1: வரிசை 1:
 +
<!DOCTYPE html>
 
<html>
 
<html>
 
<head>
 
<head>
வரிசை 19: வரிசை 20:
 
   </style>
 
   </style>
 
</head>
 
</head>
நூலக நிறுவன நிதி கோரல் தொடர்பாக காட்சிப்படுத்துவதற்காக உருவாக்கப்பட்ட பரீட்சார்த்த பக்கம்
 
 
 
<body>
 
<body>
  
<div class="w3-content w3-section" style="max-width:1200px; position: relative;">
+
<div class="w3-content w3-section" style="max-width:1200px; position: relative;" onclick="pauseResumeCarousel()">
 
   <img class="mySlides" src="https://noolaham.org/wiki/images/a/a7/First.jpeg" style="width:100%">
 
   <img class="mySlides" src="https://noolaham.org/wiki/images/a/a7/First.jpeg" style="width:100%">
 
   <img class="mySlides" src="https://noolaham.org/wiki/images/a/a0/Second.jpeg" style="width:100%">
 
   <img class="mySlides" src="https://noolaham.org/wiki/images/a/a0/Second.jpeg" style="width:100%">
வரிசை 35: வரிசை 34:
 
<script>
 
<script>
 
   var myIndex = 0;
 
   var myIndex = 0;
 +
  var pauseTimer;
 +
 
   carousel();
 
   carousel();
  
வரிசை 46: வரிசை 47:
 
     if (myIndex > x.length) {myIndex = 1}     
 
     if (myIndex > x.length) {myIndex = 1}     
 
     x[myIndex-1].style.display = "block";   
 
     x[myIndex-1].style.display = "block";   
     setTimeout(carousel, 6000); // Change image every 6 seconds
+
     pauseTimer = setTimeout(carousel, 3000); // Change image every 3 seconds
 
   }
 
   }
  
வரிசை 58: வரிசை 59:
 
     }
 
     }
 
     x[myIndex-1].style.display = "block";
 
     x[myIndex-1].style.display = "block";
 +
  }
 +
 +
  function pauseResumeCarousel() {
 +
    clearTimeout(pauseTimer); // Stop the automatic carousel timer
 +
    pauseTimer = setTimeout(carousel, 8000); // Restart the automatic carousel after 8 seconds
 
   }
 
   }
 
</script>
 
</script>

02:24, 21 சூலை 2023 இல் நிலவும் திருத்தம்

<!DOCTYPE html> W3.CSS

"https://noolaham.org/wiki/index.php?title=SlidePageAds&oldid=566924" இருந்து மீள்விக்கப்பட்டது