Can't get Javascript to run
Sep 30, 2014
I'm trying to replicate the javascript shown on this page:
http://www.articulate.com/support/storyline/javascript-best-practices-and-examples
The problem is that no matter which of the examples that I use, I can't seem to get any results. Has anyone noticed this before and how did you resolve the issue?
I've attached my story file to see if it anyone can get it to work. The story is basically supposed to display the system date.
6 Replies
Did you actually publish it. Javascript does not work in the preview mode.
I published it as is and it worked fine and showed today's date.
The script works for me too.
Yes, I did publish it and got no results at all! I think this points to an issue with my PC.
Thanks Marco and Michael!
What browser are you using? I'm using Chrome and it also worked in IE. I did get a message in both asking if I wanted to run blocked content, but that was my Norton 360 kicking in, I think.
I got it to work!
I had clicked on the standard flash output in Chrome, IE, and FF and got no output. Then I published with HTML5 support, clicked on the HTML5 version and suddenly it worked! My ultimate goal is to create the following two slide story, which uses the random number generator js code at the bottom of the js guideline page:
http://www.articulate.com/support/storyline/javascript-best-practices-and-examples
Story attached.
This discussion is closed. You can start a new discussion or contact Articulate Support.