Featured Categories
-
Lectora®
Lectora® is the most trusted authoring tool in the world. Rock out your creativity! Author courses any way you like. Lectora adheres to best practices for Accessibility and Web Content Accessibility Guidelines (WCAG), offers responsive authoring for eLearning, and publishes to any LMS (Learning Management System).
-
CenarioVR®
Experience virtual reality through CenarioVR®, our training and virtual reality (VR) authoring software that allows you to create immersive learning in minutes! No coding required!
-
Rockstar Learning Platform®
Our Rockstar Learning Platform® has all the features you’ll love. Help your employees be better at their jobs, more valuable to your company, and most effective in servicing your customers.
-
The Training Arcade®
Level up your learner engagement with the Training Arcade®! The Training Arcade is a library of fun, mobile-ready, casual games that can be rapidly customized with your content to create effective gaming!
-
ELB Learning Content
Did you know that our AssetLibrary™ has over 120 million engaging, interactive, and awe-inspiring templates and assets to help you become an eLearning Rockstar®?
Adding conditions based on page status.

The process I've tried:
created duplicate menu items, e.g., 2 without menu actions, 2.2 with menu actions.
main menu page action set on show, show menu 2 if the page status equals not started, else show menu 2.2
I've also tried:
created duplicate menu items
main menu page action set on show, show menu 2 if the page status equals not started, else show menu 2.2
main menu page action set on show, hide menu 2 if the page status equals completed, else hide menu 2.2
I feel like this process is simple but somehow, I cannot figure it out. Any input would be helpful.
Thank you.
Best Answer
-
Hi @Shannon_SLU02 Creating menus based on visited states can be tricky. I notice in particular that you used images instead of buttons, but buttons have the best function states to build a menu like this, and you can set your buttons as images! I added a sample built in Lectora 21.2. Basically, create a button, then on the Style tab, change the fill to be your image. You can resize it and change the corner shape too. Next, tap on the States area and change the Disabled state to Custom. I changed the opacity to 40 to represent disabled. Then added 2 actions to each. First, I set OnShow ThisObject (note not page) Set state to Disable then added the condition IF Page (page that must be visited first) is Not Started. The second action is OnMouseClick GoTo Page. The mouse click won't work if the button is disabled. I repeated this for the other buttons. Please note that in top-down order, the OnShowThisObject should be first, then the OnMouseClick action.
For images that you do not want to be shown, use similar logic by setting the property to Initially Hidden, then instead of the OnShowSetState, use OnPageShowShow Button IF DependentPage IS Complete. This will show the image button and then be active.
Button 2 in the sample has this functionality.
I hope this helps!
Sheryl
Answers
-
Shannon_SLU02 Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 5 ☆ Roadie ☆
Categories
- 35.9K All Categories
- 110 ✫ Announcements
- 33.2K 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)
- 27 ELB Learning Content
- 27 ELB Learning Content Discussions
- 346 CenarioVR®
- 205 CenarioVR Discussions
- 141 CenarioVR Feature Requests
- 44 Rockstar Learning Platform®
- 41 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 48 ReviewLink®
- 48 ReviewLink Discussions
- 7 The Training Arcade®
- 7 The Training Arcade Discussions
- 938 All Things eLearning
- 39 eLearning Development
- 546 Learning Management System (LMS) Integration
- 333 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products