Execute javascript not working
Apr 06, 2018
I've got a piece of code that I use for recalculating variables in my scene. I've put the code in the slide master and it works perfectly fine. However, since it was just a technical prototype, I continued building the template so I could use it for building my training. Now my screens are all finished, but my code doesn't work anymore. Any kind of 'execute javascript' trigger is in fact not working.
I've seen some discussions about javascript not working locally or not in some browser etc, but this can't be the case here since Template_v4 works perfectly fine but Template_v9 does not. I've put multiple alerts in the script to check, but I get nothing. Attached you'll find both files.
What am I missing here? Why is my script not working anymore? Any ideas? (other than it not working locally or in my browser) Thanks.
Regards,
Thijs
2 Replies
There seems to be an error in one of your Javascripts in Template_9. If I remove all scripts from the master slides, except the alert script on slide 1.1 it works. Double-check if there is a typo in one of the scripts. Or maybe there is a reference to a variable that doesn't exist.
Thank you for giving your replay.
This discussion is closed. You can start a new discussion or contact Articulate Support.