1. |
Find the Hot Potatoes source folder, and copy the hp6timer.js_ file into your custom source folder. Open this file in your text editor. This file contains the code which makes the timer work. |
2. |
First, we need to make the timer start from zero, instead of from the time limit specified in the configuration screen. Find this line: |
3. |
Next, make another copy of the line of code, so you have two copies. Comment out the first one, then modify the second, so you have this: |
4. |
Next, we need to make the timer count upwards instead of downwards. Find this line: |
5. |
Now make a little JQuiz exercise to test with. Remember to include a timer. It doesn't matter what time limit you set, though; the time limit will not be used. Here's an example. |