Preventing the user from clicking on buttons.
Hi my fellow e-learning heroes,
I seen a few posts on the forums regarding How to prevent the user from clicking on buttons or hotspots before they are suppose to? and also How to stop them from clicking on the next button before all slide layers have been viewed? and couldn't see a definite answer, so I thought I will share my Jedi powers with the community.
This is how I do it and you can see an example on a course I created for the the YMCA London here
No Click Shield, in this case the client wanted to prevent the user from clicking on the different buttons before the audio had finished playing, this is what I did:
- insert an invisible hotspot (no shape fill and no shape outline) covering the whole canvas for the duration of the audio.
- insert a text box saying "Wait until audio has finish playing before clicking!!!" the text box has an initial hidden state, this is very important for the whole thing to work
- create trigger for the hotspot so it changes the text box state from hidden to normal (visible) if the user clicks on any part of the canvas before the audio has finish playing
- create a trigger for the text box that changes its state from normal to hidden, so the user can make the text box invisible
Showing buttons according to timeline, if you have multiple slide layers in one slide and want to prevent the user clicking on any button half way a slide,
- very easy, move the button on the timeline so it only appears when the audio or event has finish playing
Prevent user from advancing to the next slide until all slider layers have been visited,
- create a trigger that has a condition, the condition on this case will be that the buttons have a Visited state
You can also prevent the user from seeking on the players timeline if you wish to limit it even more, but I found the no click shield solution is quite effective.
Hope that it helps someone out there and if anyone has a better solution I'm all ears.
A cloud of mystical dust appears, shrouding Oscar in its magic. You roll a six. The cloud dissipates and Oscar is gone...