What is the correct actions for next and back button?
March 20, 2014 12:00 AM
[ATTACH=CONFIG]543[/ATTACH]
Hi I have a problem regarding the action of next and back button.
Refer to the image above, I have 10 buttons namely page 1, page 2, page 3 and so on. The problem here is that, how can I change the button of page 1 to page 11 (page 2 to page 12, page 3 to page 13 .....) when I click the next button at the bottom.
Also, how to change it when I press on the back button. As for now I manage to change the buttons from page 1-10 to page 11-20. However, when I add new buttons page 21-30, everything seems so wrong. FYI I has 64 buttons/pages all together.
Can you please help me with the actions as I'm very new to Lectora. Thank you
Discussion (1)
If the back/next arrows only show the next set of buttons, try:
on mouseclick
HIDE all of the 1-10 buttons (each will be it's own action)
SHOW all of the 11-20 buttons
You'll need to make multiple back/next buttons and use hide/show actions when the button is clicked to hide the current button and then show the button that will do the next action. For example:
For the "Next 11-20" Button, have its action be:
-HIDE 1-10
-SHOW 11-20
-HIDE "Next Button 1-10"
-HIDE "Back Button 1-10"
-SHOW "Next Button 11-20"
-SHOW "Back Button 11-20"
You'll also need do the same with your back button at the top, so that when the button set changes the correct version of the arrow button will show. I would use action groups to group keep things organized.
Discussions have been disabled for this post