Timer - Count-down or Count-up

benpitman
Community Member Posts: 763
I took Ben's great idea and added "Start" and "Stop" buttons to it so the counter can be controlled by the student (e.g., "Click Start when you are ready to begin"). Here's how:Make two buttons, Start and Stop (or get them from the button wizard). Also create a variable called RUN with the initial value of zero (0). On the Start button:1. Modify the Run variable to SET it equal to 12. Hide the Timer Display; delay 1 secondOn the Stop button, modify the Run variable to SET it equal to 0.Then on actions #2 (hide Timer Display), #3 (modify variable) and #4 (show Timer Display) of the original tip above, add the CONDITION that RUN is equal to 1.You may also want to add actions that hide your buttons when the RemainingTime variable is equal to 0 (Time’s Up), and/or a Reset button, etc.
Categories
- 35.9K All Categories
- 109 ✫ Announcements
- 33.1K Lectora®
- 31.1K Lectora Discussions
- 29K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 36 Lectora Accessibility User Group (LAUG)
- 25 ELB Learning Content
- 25 ELB Learning Content Discussions
- 329 CenarioVR®
- 196 CenarioVR Discussions
- 133 CenarioVR Feature Requests
- 42 Rockstar Learning Platform®
- 39 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 47 ReviewLink®
- 47 ReviewLink Discussions
- 7 The Training Arcade®
- 7 The Training Arcade Discussions
- 936 All Things eLearning
- 37 eLearning Development
- 546 Learning Management System (LMS) Integration
- 333 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products