While providing the download link for media file or document we think to add some timer to let keep wait the user just for ads of patience of ads showing intention.
|
| How to add download timer? |
So here is the basic steps to make that thing and at he last of this post you will get a demo
How to add download timer
Parent page
Form where we move to the timer page
1. Create a new page with following script for the download button
----
----
2. Create a new page that will be your timer page
3. Replace the timer page link with that form action that is created in first step.
4. In final script put the right and working download link.
Timer page
Where we play the timer and redirect to the final download link
5. Create that timer page whose link is provided in form of the parent page in fist step
6. Put all the following code
-----------------
-----------------
Demo
Here is the final demo
