Timer - Count-down or Count-up

benpitman
Community Member Posts: 763
A Count-down or Count-up timer.Just had the need for a timer and thought I would look for one before inventing my own. Since I did not see one in Lectora, I have a workaround that many may be interested in.At the page level, add one action to set a variable called RemainingTime to the number of seconds you desire. On the page, create a text block, call it TimerDisplay. Add five actions:Action 1. On: Show; Action: Change Contents of TimerDisplay, New Contents = RemainingTime.Action 2. On: Show; Action: Hide TimerDisplay -- check Delay Before Action and enter 1.0 seconds.Action 3. On: Hide; Action: Modify Variable; Target: RemainingTime; Value =1; Modification Type: SubtractAction 4. On: Hide; Action: Show Timer Display; Condition: Perform only if RemainingTime is Greater Than 0.Action 5. On: Hide; Action: Display Message; Message = "Time's Up." Condition: Perform only if RemainingTime Equals 0.This can be modified to a count up timer by starting at zero and changing the conditions to stop at the desired time.benEdited By: bpitman on 2005-12-8 8:47:25
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