download link


 <div dir="ltr" style="text-align: left;" trbidi="on">

<center>

<span id="countdown"><b><h2>You Have To Wait 30 Seconds.</h2></b></span></center>

<br />
<div style="text-align: center;">

<b><h1>Generating Download Link...</h1></b><br />

<a class='button' href="xxx" target="_blank" id="download_link" style="display: none;">Download Now</a>

<script type="application/javascript">

(function(){

   var message = "%d seconds before download link appears";

   // seconds before download link becomes visible

   var count = 30;

   var countdown_element = document.getElementById("countdown");

   var download_link = document.getElementById("download_link");

   var timer = setInterval(function(){

      // if countdown equals 0, the next condition will evaluate to false and the else-construct will be executed

      if (count) {

          // display text

          countdown_element.innerHTML = "You have to wait %d seconds.".replace("%d", count);

          // decrease counter

          count--;

      } else {

          // stop timer

          clearInterval(timer);

          // hide countdown

          countdown_element.style.display = "none";

          // show download link

          download_link.style.display = "";

      }

   }, 1000);

})();

</script></div></div>

Post a Comment

பார்வையிட்டமைக்கு நன்றி

Come Back Again This Website

Previous Post Next Post