Download Timer in Blogger | Download timer script blogger |


Download Timer Blogger | Download timer script blogger |

How to add Download Timer in blogger post -   

Creat New post & open HTML view or paste this code  

 <div dir="ltr" style="text-align: left;" trbidi="on">  
 <span id="countdown">You have to wait 10 econds.</span></center>  
 <br />  
 <div style="text-align: center;">  
 <b>Click on Download Button After Time is Over</b><br />  
 <br />  
 <br />  
 <a href="#" id="download_link" style="display: none;" target="_blank"><img src="" /></a>  
 <noscript>JavaScript needs to be enabled in order to be able to download.</noscript>  
 <script type="application/javascript">  
   var message = "%d seconds before download link appears";  
   // seconds before download link becomes visible  
   var count = 10  
   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  
    } else {  
      // stop timer  
      // hide countdown = "none";  
      // show download link = "";  
   }, 1000);  

You have to wait 19 econds.

Click on Download Button After Time is Over