I have a timer running and when it finishes I pass the var seconds into a function.
I need to convert this timer from seconds left to the time spent until the call.
Now it says “You click all div’s in 16 seconds”, but the 16 seconds is the time left.
Is this possible or do I have to build an another function to handle this?
Here is the code:
http://jsfiddle.net/dYqqv/10/
If you started a countdown of 30s and you know that 16s have already passed, then the time elapsed is 30s – 16s = 14s