| | #1 |
| Active Warrior Join Date: 2010
Posts: 30
Thanks: 4
Thanked 2 Times in 2 Posts
|
I make a website with WP to distribute a file, I want any kind of script that when user click a link of download, a new page open then begin download file after 5 or 10 seconds. Thank you in advance.
|
| | |
| |
| | #2 |
| Entrepreneur Join Date: 2010
Posts: 39
Thanks: 0
Thanked 3 Times in 3 Posts
|
I don't know if there's a WP plugin for this, but if you know some coding, you can use Meta refresh to accomplish this. Something like: <meta http-equiv="refresh" content="5;url=http://yourwebsite.com/">5 is the number of seconds. |
| |
| The Following User Says Thank You to RaulK For This Useful Post: |
| | #3 | |
| Active Warrior War Room Member Join Date: 2010
Posts: 92
Thanks: 7
Thanked 10 Times in 10 Posts
|
| |
| |
| The Following User Says Thank You to mystline For This Useful Post: |
| | #4 |
| Active Warrior War Room Member Join Date: 2010 Location: yogya, indonesia
Posts: 59
Thanks: 5
Thanked 8 Times in 8 Posts
| and the complete code are -> file link-download.html <!-- this is link to click that will show the new window for download file --> <a href="http://your-domain.com/your-file-download.html">CLICK HERE TO DOWNLOAD</a> file your-file-download.html <html> <head> <script type="text/javascript" src="./jquery.js"></script> </head> <body> Thank you for downloading, wait 10 second, see this ADS <script> $(window).load(function () { setTimeout(function() { alert('Dowload BEGIN'); }, 10000); }); </script> </body> </html> |
| | |
| |
| The Following User Says Thank You to anestbaik For This Useful Post: |
| | #5 |
| Active Warrior Join Date: 2010
Posts: 30
Thanks: 4
Thanked 2 Times in 2 Posts
|
Thank you all guys for your precious help, It runs like magic. Thank you, Thank you, Thank you |
| | |
| |
| | #6 |
| Warrior Member Join Date: 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
Hello Sir anestbaik Im not able to do this on my website. Please can u upload video on youtube for this "Add Script to WP for beginning download afile after 5 seconds" tutorial ? I am also interesting for your service for wordpress clone theme. And for this I am agree to pay your charges. Please reply me as soon as possible. My Email is : patelsanjay99@hotmail.com |
| |
| | #7 | |
| Warrior Member Join Date: 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
I want to create downloading link should open in new download page with 5 second limit and advertisement. The demo site is : Download Notebook Drivers, Software, Manuals. I want create this tutorial on my website : A website about download drivers, software update, hardware. So how can i do this? Please help me. Thanks in advance. | |
| |
|
| Bookmarks |
| Tags |
| add, afile, beginning, download, script, seconds, wordpress |
| |