Abra Kam Abra Kam - 3 months ago 12
jQuery Question

show download button after countdown is done

I am working on my wordpress project and my idea that someone can download a file after the countdown is done (as we all know that aproach from multiple sites...).

I already have the countdown made and successfully working, but I dont know how to implement the "download" function.

Here is the link for countdown I have now:

https://jsfiddle.net/96Lkoh42/

Maybe somehow replace this part of the code?:

newSubMessage:"and should be back online in a few minutes..."};


(It is at the and of .js)

Answer

like knutesten said.....you can do that in endEvent() function

i have edit your jsfidlle for working example(i edit the timezone for testing only).here jsfiddle https://jsfiddle.net/deLpu7jj/28/