#450198 Score: 0
Profile photo of Robert Aung-Naing
Robert Aung-Naing
friend finder
wise owl
19 pts

Hi Eoin,

There seems to be an issue with playing/starting a timer in Lectora Online with an action on each page using OnShowPlay Timer action. It is setting the timer value to 0 on page switch and hence running the DonePlaying action which  pops up the take-a-break page.

As a workaround for now you can set the timer to auto start and change the OnShowPlay action to OnShowStop if BreakRemindersEnabled Not Equal To 1.

The pop up page does not stop the chain of actions in the group, so you really can’t have restart timer action inline with the display popup action. You could add a button in the popup page to start the timer, but then you are relying on the user to click the button to start the timer before closing the popup page.

To get around this, you can use a text block covering the entire page and have a link with an action to start the timer.

So this is what I ended up with. Please take a look and see if it’ll work for you:

  • Title > AU > TakeABreakTimer : Auto start set
  • Title > AU > OnShowStop action : Stop TakeABreakTimer – IF BreakReminderEnabled Not Equal To 1
  • Title > AU > > GroupResume (action group)
    • OnGroupHide (action) : Hide TakeABreakText
    • OnGroupPlay (action) : Play TakeABreakTimer – IF BreakReminderEnabled Not Equal To 1
  • Title > AU > TakeABreakText (Text block) : take up entire page; Initially Hidden is Set; Always on Top is Set
    • “Continue” link in the text block : Run Action Group GroupResume
      (you may also want to set opacity to about 90% so you can still see the page behind it)