VR Course Contest
Show us your best virtual reality course and win $50 gift card and a winner badge!
CHECK IT OUT
Onclick Advance to next image using variables?

2hawks
Community Member Posts: 64
I'm sure I'm on the right track trying to use a variable to keep this clean:
Left Arrow for going back.
Right Arrow for going forward.
A group of images/text descriptions
Click the Right Arrow to show Next Image. Action: OnClick VariableGroupDisplay add 1. Group1 is set to show if VariableGroupDisplay is Equal to 1.
Click Right Arrow to show Next Image. Action: VariableGroupDisplay add 1. Group2 is set to show if VariableGroupDisplay is Equal to 2.
And etc. Left arrow for going backward simply subtracts VariableGroupDisplay by 1 with each OnClick event.
Only trouble is, it doesn't work.
Can someone point out the error of this process or concept? I suspect that something needs to tell Group1, Group2, et al that the variable has changed so they know to display?
2hawks
Left Arrow for going back.
Right Arrow for going forward.
A group of images/text descriptions
Click the Right Arrow to show Next Image. Action: OnClick VariableGroupDisplay add 1. Group1 is set to show if VariableGroupDisplay is Equal to 1.
Click Right Arrow to show Next Image. Action: VariableGroupDisplay add 1. Group2 is set to show if VariableGroupDisplay is Equal to 2.
And etc. Left arrow for going backward simply subtracts VariableGroupDisplay by 1 with each OnClick event.
Only trouble is, it doesn't work.
Can someone point out the error of this process or concept? I suspect that something needs to tell Group1, Group2, et al that the variable has changed so they know to display?
2hawks
0
Categories
- 4.4K All Categories
- 35 ✫ Announcements
- 6 ✪ Contests
- 34.1K eLearning Brothers® Products
- 102 Lectora®
- 1.1K Lectora Discussions
- 1.9K Lectora Feature Requests
- 53 Lectora User Groups
- 2 AssetLibrary™
- AssetLibrary Discussions
- 2 AssetLibrary Feature Requests
- 69 CenarioVR®
- 111 CenarioVR Discussions
- 78 CenarioVR Feature Requests
- 2 Rockstar Learning Platform®
- 1 Rockstar Learning Platform Discussions
- 1 Rockstar Learning Platform Feature Requests
- 4 Off-the-Shelf Course Library
- 3 Off-the-Shelf Course Library Discussions
- 1 Off-the-Shelf Course Library Feature Requests
- 1 CourseMill®
- 101 CourseMill Discussions
- ReviewLink®
- 21 ReviewLink Discussions
- 12 ReviewLink Suggestions
- 1 The Training Arcade®
- 1 The Training Arcade Discussions
- The Training Arcade Feature Requests
- 7 Additional Learning Products
- 2 Adobe®
- 2 Articulate®
- 1 Camtasia®
- Docebo®
- 1 iSpring®
- 1 Microsoft® PowerPoint®
- 293 All Things eLearning
- 3 Course Development Showcase
- 1 eLearning Brothers® Downloads
- 1 Compliance Training
- 5 eLearning Development
- eLearning Game Design
- 7 Instructional Design
- 266 Learning Management System (LMS) Integration
- 2 Mobile Learning
- 2 Visual Design
- 319 Web Accessibility
- 579 ♪ The Green Room
- 3 ♡ Community Feedback
- 6 Community Tips