I am creating countdown timer for 70 seconds before the download link is appear I want it appear like 1:10 rather than 70 seconds, how to do that ?
Ask Countdown Timer
5
I am creating countdown timer for 70 seconds before the download link is appear
I want it appear like 1:10 rather than 70 seconds, how to do that ?
preview :
Countdown Timer
this is the script I am using :
<script type="text/javascript">
jQuery(document).ready(function() {
var sec = 70
var timer = setInterval(function() {
$("#mdtimer span").text(sec--);
if (sec == 0) {
$("#makingdifferenttimer").delay(1000).fadeIn(1000 );
$("#mdtimer").hide(1000) .fadeOut(fast);}
},1000);
});
</script>
<center>
<a class="button" href="http://www.downloadlink.com/" id="makingdifferenttimer" rel="nofollow" style="display: none;" target="_blank">Download</a>
</center>
<div id="mdtimer">
<div style="font-size: large; text-align: center;">
<b>Please Wait <span>70</span> seconds</b></div>
</div>
I want it appear like 1:10 rather than 70 seconds, how to do that ?
preview :
Countdown Timer
this is the script I am using :
<script type="text/javascript">
jQuery(document).ready(function() {
var sec = 70
var timer = setInterval(function() {
$("#mdtimer span").text(sec--);
if (sec == 0) {
$("#makingdifferenttimer").delay(1000).fadeIn(1000 );
$("#mdtimer").hide(1000) .fadeOut(fast);}
},1000);
});
</script>
<center>
<a class="button" href="http://www.downloadlink.com/" id="makingdifferenttimer" rel="nofollow" style="display: none;" target="_blank">Download</a>
</center>
<div id="mdtimer">
<div style="font-size: large; text-align: center;">
<b>Please Wait <span>70</span> seconds</b></div>
</div>
- BinaryKing
- [ 1 ] Thanks
- zeurois
- [1] reply
- tweakr
- marioxiao
Next Topics on Trending Feed
-
5