• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

I Need Help Regarding a Download Page For Wordpress PHP

🅰🅳🅸🆃🆈🅰

Active member
Trusted Uploader
Mar 20, 2020
253
135
43
पृथ्वीलोक :
Hello, how can i make a page like with waiting timer to show download links

androjunglevcom/file.php?id=5443&n=1
If you notice it has &n=1 like this n=2 etc..
Which will show another link with file.php page in between then

i am not able tell clearly but hope you will understood
 
Add this
<center> <button type="button" onclick="myFunction()" id="countdown" style="background-color: DodgerBlue; font-family: verdana; font-size: 20px; color: white; padding: 12px 30px; ">Go To Download</button></center> <div style="text-align: center;"> <a href="###" id="download_link" style="display: none;"><button style="background-color: DodgerBlue; border: none; color: white; padding: 12px 30px; cursor: pointer; font-size: 20px;" >Downlaod Link</button></a> <noscript>JavaScript needs to be enabled in order to be able to download.</noscript> <script type="application/javascript"> function myFunction(){ var message = "%d seconds before download link appears"; // seconds before download link becomes visible var count = 15; 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>

  1. Now, replace "###" with the download link in the code.
 
  • Like
Reactions: Auwal
Add this
<center> <button type="button" onclick="myFunction()" id="countdown" style="background-color: DodgerBlue; font-family: verdana; font-size: 20px; color: white; padding: 12px 30px; ">Go To Download</button></center> <div style="text-align: center;"> <a href="###" id="download_link" style="display: none;"><button style="background-color: DodgerBlue; border: none; color: white; padding: 12px 30px; cursor: pointer; font-size: 20px;" >Downlaod Link</button></a> <noscript>JavaScript needs to be enabled in order to be able to download.</noscript> <script type="application/javascript"> function myFunction(){ var message = "%d seconds before download link appears"; // seconds before download link becomes visible var count = 15; 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>

  1. Now, replace "###" with the download link in the code.
Thanks but this is not what i asked
 
Add this
<center> <button type="button" onclick="myFunction()" id="countdown" style="background-color: DodgerBlue; font-family: verdana; font-size: 20px; color: white; padding: 12px 30px; ">Go To Download</button></center> <div style="text-align: center;"> <a href="###" id="download_link" style="display: none;"><button style="background-color: DodgerBlue; border: none; color: white; padding: 12px 30px; cursor: pointer; font-size: 20px;" >Downlaod Link</button></a> <noscript>JavaScript needs to be enabled in order to be able to download.</noscript> <script type="application/javascript"> function myFunction(){ var message = "%d seconds before download link appears"; // seconds before download link becomes visible var count = 15; 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>

  1. Now, replace "###" with the download link in the code.
where can i add the code pls , explain more ?
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock