Is it possible to trigger an action when a variable is either an odd number or even number?
I have created a random number variable trigger which works fine, but I want the trigger to go to a specific slide if the variable number is odd or even.
I've used your solution, but have an issue with a project in which i need to determine if the number of clicks on a button is even or odd. Can you pinpoint the error in my Javascript?
3 Replies
Hi Darren
Without knowing more about your setup the attached rough sample file and Peek may help.
It may be that a JS solution would work better - I'll let the JS experts jump in here.
Hi Darren,
Maybe you can get an idea from this sample. Just add a trigger to jump to a slide if the condition is true.
Hi Daniel,
I've used your solution, but have an issue with a project in which i need to determine if the number of clicks on a button is even or odd. Can you pinpoint the error in my Javascript?
This discussion is closed. You can start a new discussion or contact Articulate Support.