In today’s article i gonna share how to make a 10 second countdown timer before a download button link appear. you might seen at many games and software website’s download page such as Rapidshare and others, when the page loads, a 10 second timer automatically start. then after the time is up a download button appears for people to click on the link and start their download. why you have to do this on your blog? you can place advertisement at above and below of download button and timer. there is many chance to get more clicks on your ads. this is one of the best thing about this script. However, you can use this for the different things of your mind. So, if you would like to add countdown timer before a download button link appears on the download page. then just follow the simple steps below.

Also Read : Hide and Show Elements with jQuery

First thing you need to do is that install the jQuery plugin at before ending of head tag  in your blog’s HTML or any html page , if you have already installed this plugin then you don’t have to place it again. just ignore and go for the next step.

<script src="" type="text/javascript"></script>

Now, go to the download page, HTML editor and place the below code on it and just replace the download link with yours. for blogger, go to new post, in HTML mode, place the code below and then change the download link and publish.

<script type="text/javascript">
jQuery(document).ready(function() {
var sec = 10
var timer = setInterval(function() {
   $("#mdtimer span").text(sec--);
   if (sec == 0) {
$("#mdtimer").hide(1000) .fadeOut(fast);}
<a class="button" href="" id="makingdifferenttimer" rel="nofollow" style="display: none;" target="_blank">Download</a>
<div id="mdtimer">
<div style="font-size: large;">
<b>Please Wait <span>10</span> seconds</b></div>

Now, just replace above URL with any of download link as you want. and then publish it. for the demo , go to this HTML editor and place the above code on it and submit to see how it’s works great. :)