Current Page in a Chapter or Section to Hide Navigation buttons

towers9815
Community Member Posts: 71 ☆ Roadie ☆
I am trying to hide a back button if the page is the first page in chapter.
So I have my Navigation buttons at the top of my course. They are inherited in every chapter.
So for the first page I just need a Hide Action with the following condition.
Variable--------- | Relationship | Value
PageInChapter | Equal to | 1
That should hide the back button on the first page
Now on last page how would I do it?
Variable--------- | Relationship | Value
PageInChapter | Equal to | ???
I cant make the value a variable ? Lectora knows how many pages in the Chapter using the Variable PagesInChapter. But how do I compare two variables ?
Is this the right approach. Any thoughts would be appreciated !
So I have my Navigation buttons at the top of my course. They are inherited in every chapter.
So for the first page I just need a Hide Action with the following condition.
Variable--------- | Relationship | Value
PageInChapter | Equal to | 1
That should hide the back button on the first page
Now on last page how would I do it?
Variable--------- | Relationship | Value
PageInChapter | Equal to | ???
I cant make the value a variable ? Lectora knows how many pages in the Chapter using the Variable PagesInChapter. But how do I compare two variables ?
Is this the right approach. Any thoughts would be appreciated !
Comments
-
You can simply write "VAR(PagesInTitle)" instead of a value. Or click on the tiniest of arrows in the bottom right corner of that input field to bring up the "Use Variable" dialog. See the attached pic.
P.S. I would just disinherit the buttons on respective pages but in the light of your other question, you can't do that if these buttons are in a group. -
-
Check out the "Show buttons for hiding objects in the Title Explorer" option in your Preferences.
When you turn this on, you'll see an additional expand/collapse + or - icon in the Title Explorer at the Title, Chapter, and Section level. Selecting this allows you to collapse items at that level to clean up clutter in your Title Explorer. -
What a great feature!
But for me with online it is not present. What a great shame !
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