first steps with Java Script (not working at all) :-(
Jun 23, 2017
By
Axel Ditter
Hello
I am new at using java Script with Articulate ... want to try an easy thing but its not working at all ...
I have three variables:
The-actual-Question-number (every new page i add +1 to it)
%Aktuelle_Frage% (Aktuelle_Frage)
The_sum_of_all_question_in_the_test: I set it once to e.g. 3
%Anzahl_Alle_Fragen% (Anzahl_Alle_Fragen)
This is what i wan t to calculate (the percent) to show it in a progress bar
I calculate this
%Fortschritt%= (%Aktuelle_Frage% / %Anzahl_Alle_Fragen% ) * 100
%Fortschritt% (Fortschritt)
THIS I PUT IT IN THE MASTER PAGE (when timeline start) run this JS
I don t know whats wrong ... I tried every thing ...
1 Reply
Hello Matthew
thank you for the fast response -
I think the second way is the one i like :-)
But i am not sure how to set this up ...
This discussion is closed. You can start a new discussion or contact Articulate Support.