first steps with Java Script (not working at all) :-(

Jun 23, 2017

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

This discussion is closed. You can start a new discussion or contact Articulate Support.