I had to so something similar to what you're asking so this may help you.
I needed to display a text for a number of seconds showing the countdown bar and, at the end of the countdown move on to the next page. Since *countdown
only works under a question, I used custom CSS to hide the question (so that only the countdown bar is displayed). Countdown automatically moves forward after the specified amount of time, so you can skip using *wait
:
*html
<style>
.hidden {visibility: hidden !important;}
</style>
This will be displayed only for 5 seconds!
*question: a
*countdown: 5.seconds
*classes: hidden
Page 2