{Add 15 sec Timer Download Button in Blogger and WordPress | Download Timer Countdown Button Script} - Today's Content
Hello Viewers we are back with another informative blog post. In this post you are going to learn how to add timer download button in blogger and wordpress. So without wasting more time put your glasses in your eyes and lets get started today's informative post.
How to add a countdown Timer Download button in Blogger & WordPress, [Complete Script Code is Given]
✔ What is the Download Timer Button?
So, my friends, before we learn how to add a download timer, as a Blogger, we need to understand what is a download button timer ⏲.
So, let's start with this answer: Normally we used to place a simple download button in our blog post so that some user does not read the article and simply click on the download button as a result your bounce rate shifts from his position and we all know that bounce rate playes an important role in our site. If we place a Download Timer Button so that the user will stay more time in your site and your bounce rate will under control. This Time Button not only maintain your bounce rate but also helps to boost your earning with your Ads Network. This is the reason why maximum of the successful bloggers uses this trick.
✔ How To Use The Download Countdown Timer Button?
(Source Code no: 1)
<!--Written by- Themidom.in-->
<p><span style="font-size: large;"><style>
.button {
background-image: linear-gradient(to right, #00e087, #a8eb12);
color: black;
font-family: Arial Bold;
font-size: 30px;
text-decoration: none;
padding: 3px;
}
.gag{
background-image: linear-gradient(to right, #00e087, #a8eb12);
color: black;
font-family: Arial Bold;
font-size: 30;
text-decoration: none;
padding: 3px;
}
</style>
<div style="text-align: center;">
<a href="# Paste Your Download Link" target="_blank" id="download" class="button">Download Filmora</a>
<button id="btn" class="gag">Click Here to View Download Link</button>
<script>
var downloadButton = document.getElementById("download");
var counter = 3;
var newElement = document.createElement("p");
newElement.innerHTML = "5 sec";
var id;
downloadButton.parentNode.replaceChild(newElement, downloadButton);
function startDownload() {
this.style.display = 'none';
id = setInterval(function () {
counter--;
if (counter < 0) {
newElement.parentNode.replaceChild(downloadButton, newElement);
clearInterval(id);
} else {
newElement.innerHTML = +counter.toString() + " Sec";
}
}, 1500);
};
var clickbtn = document.getElementById("btn");
clickbtn.onclick = startDownload;
</script></span></p><p><span style="font-size: large;"> </span>
(Source Code no: 2)
<!--Written By Themidom.in-->
<p><span style="font-size: large;"><style>
.button {
background-image: linear-gradient(to right, #FFFFFF, #FFFF00);
color: black;
font-family: Arial Bold;
font-size: 30px;
text-decoration: none;
padding: 5px;
}
.gag{
background-image: linear-gradient(to right, #FFFFFF, #FFFF00);
color: black;
font-family: Arial Bold;
font-size: 30;
text-decoration: none;
padding: 5px;
}
</style>
<div style="text-align: center;">
<a href="# Paste Your Download Link" target="_blank" id="download" class="button">Download Filmora</a>
<button id="btn" class="gag">Click Here to View Download Link</button>
<script>
var downloadButton = document.getElementById("download");
var counter = 15;
var newElement = document.createElement("p");
newElement.innerHTML = "15 sec";
var id;
downloadButton.parentNode.replaceChild(newElement, downloadButton);
function startDownload() {
this.style.display = 'none';
id = setInterval(function () {
counter--;
if (counter < 0) {
newElement.parentNode.replaceChild(downloadButton, newElement);
clearInterval(id);
} else {
newElement.innerHTML = +counter.toString() + " Sec";
}
}, 1500);
};
var clickbtn = document.getElementById("btn");
clickbtn.onclick = startDownload;
</script></span></p>
- Two Different Style's Timer Script code is given.
- Copy any one Code which you like most.
- Paste It in your Post where you want show the time button.
- You can Change the timer as your need.
- Paste your download link by replacing (#).
- Your Timer Button is Ready to use.
Conclusion:
If you followed the steps correctly then your Timer Button will be responsive. If you faces any kind of problem or error then feel free to comment down below.
That is All for Today : Thank You for reading This Article
Related Post:
🔳 How to Add Table and Button in Blogger?
🔳 How to Add Responsive Footer Sticky Ads?
🔳 Advance SEO Setting in Blogger.
Best one
ReplyDelete